association_rules over PyEclat output #959
-
Hi Sebastian, Hope you are well. Can the association_rules be used over the output of pyEclat package, which is the frequent itemsets, to generate the association rules? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
In mlxtend, there are two steps for association rules: the frequent itemset generation (currently via apriori, fp-growth, or fp-max), and then the However, looking at the pyEclat package (which was released about 2 years ago) it seems that the author made it compatible with association_rules (implemented like 5 years ago in mlxtend). I.e., the |
Beta Was this translation helpful? Give feedback.
In mlxtend, there are two steps for association rules: the frequent itemset generation (currently via apriori, fp-growth, or fp-max), and then the
association_rules
function you mentioned. Since theassociation_rules
is tailored to the output format of apriori, fp-growth, and fp-max, the pyEclat outputs may not be directly compatible.However, looking at the pyEclat package (which was released about 2 years ago) it seems that the author made it compatible with association_rules (implemented like 5 years ago in mlxtend). I.e., the
eclat_class.df_bin
output here https://github.com/jeffrichardchemistry/pyECLAT/blob/master/examples/example.ipynb looks compatible but I haven't tried.