rasbt / mlxtend

A library of extension and helper modules for Python's data analysis and machine learning libraries.
https://rasbt.github.io/mlxtend/
Other
4.85k stars 857 forks source link

Speed up frequent pattern mining by replacing frozensets with columns of 0/1's #898

Open rasbt opened 2 years ago

rasbt commented 2 years ago

The current frequent pattern and association rule mining algorithms are not implemented for generality not efficiency and may end up consuming unnecessary CPU and memory in certain cases.

As discussed in #893, we could think about a parameter or alternative function to use columns of 0/1's instead of frozensets to speed up the queries.