Skip to content

association_rules over PyEclat output #959

Answered by rasbt
catarinarurbano asked this question in Q&A
Discussion options

You must be logged in to vote

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 the association_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.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@catarinarurbano
Comment options

@rasbt
Comment options

@catarinarurbano
Comment options

@rasbt
Comment options

Answer selected by catarinarurbano
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants