Frequent Item Set Mining and Association Rule Induction
PyFIM is an extension module that makes several frequent item set mining implementations available as functions in Python 2.7.x & 3.5.x. Currently apriori, eclat, fpgrowth, sam, relim, carpenter, ista, accretion and apriacc are available as functions, although the interfaces do not offer all of the options of the command line program. (Note that lcm is available as an algorithm mode of eclat.) There is also a "generic" function fim, which is essentially the same function as fpgrowth, only with a simplified interface (fewer options). Finally, there is a function arules for generating association rules (simplified interface compared to apriori, eclat and fpgrowth, which can also be used to generate association rules. How to use the functions can be seen in the example scripts testfim.py and testacc.py in the source package (directory pyfim/ex). From a Python script or command prompt interface, call help(fim), help(apriori) (or help(fim.apriori)), help(eclat) (or help(fim.eclat)) etc. or print, for example, apriori.__doc__, eclat.__doc__ etc. for a description of the functions and their arguments. This extension module was originally developed for Python 2.7. The shared objects made available above were compiled particularly for Python 2.7.11 and Python 3.5.1 on Ubuntu 16.04 LTS and the dynamic modules made available above were compiled for Python 2.7.10 and Python 3.5.1 on Windows 10.
Release | Stable | Testing |
---|---|---|
Fedora Rawhide | 6.28-9.fc35 | - |
Fedora 35 | 6.28-9.fc35 | - |
Fedora 34 | 6.28-7.fc34 | - |
You can contact the maintainers of this package via email at
python-pyfim dash maintainers at fedoraproject dot org
.