biolab / orange3-associate

🍊 :package: Frequent itemsets and association rules mining for Orange 3.
Other
65 stars 37 forks source link

can't find associate module #4

Closed muye0503 closed 8 years ago

muye0503 commented 8 years ago

I have installed the orange3-associate.

/Python/Orange/orange3env/lib/python3.4/site-packages/orangecontrib/associate$ ls _fpgrowth.cpython-34m.so fpgrowth.py _fpgrowth.pyx init.py pycache widgets

import Orange data = Orange.data.Table("basket.tab") rules = Orange.associate.AssociationRulesSparseInducer(data, support=0.3) Traceback (most recent call last): File "", line 1, in AttributeError: 'module' object has no attribute 'associate'

kernc commented 8 years ago

Wherever you got Orange.associate.AssociationRulesSparseInducer from, it's from the old Orange 2.7 documentation. The documentation for Orange3-Associate is on RTD: http://orange3-associate.readthedocs.org/ It's used just slightly differently.