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

Raise error if support value is too large in apriori #864

Open rasbt opened 2 years ago

rasbt commented 2 years ago

Since the support is a value between 0 and 1, choosing a support greater than 1 doesn't make sense and could cause confusion. Hence, it might be good to raise an error in such cases (for apriori, fpgrowth, etc.)