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.83k stars 855 forks source link

association_rules new metrics #840

Open mikaelmv opened 2 years ago

mikaelmv commented 2 years ago

Hi,

It would be very beneficial to add couple fundamental metrics to association_rules. These are "Kulczynski metric" and "Imbalance Ratio" which provide the user with the most interesting patterns in consideration of null-invariance and itemsets' imbalance.

Their implementation is also very straightforward as its built on top of confidence and support.

image

image

Thank you,

rasbt commented 2 years ago

I agree, having additional metrics would be nice.

Nachiket18 commented 2 weeks ago

@UltraArceus3 @ankithn30 - We implemented code for Kulczynski metric in our recent PR (https://github.com/rasbt/mlxtend/issues/1096)