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.92k stars 873 forks source link

association_rules new metrics #840

Open mikaelmv opened 3 years ago

mikaelmv commented 3 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 3 years ago

I agree, having additional metrics would be nice.

Nachiket18 commented 5 months ago

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