Did I find the right examples for you? yes no

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)
A Python implementation of the FP-growth algorithm.

Basic usage of the module is very simple:

    >>> from fp_growth import find_frequent_itemsets
    >>> find_frequent_itemsets(transactions, minimum_support)

src/p/y/python-fp-growth-HEAD/test.py   python-fp-growth(Download)
 
import unittest
import fp_growth
from itertools import izip
from pprint import pprint