maks-sh / scikit-uplift

:exclamation: uplift modeling in scikit-learn style in python :snake:
https://www.uplift-modeling.com
MIT License
725 stars 96 forks source link

Realize ASD metric #124

Closed ElisovaIra closed 3 years ago

ElisovaIra commented 3 years ago

πŸ’‘ Feature request

Implement the ASD metric from the book RenΓ© Michel, Igor Schnakenburg, Tobias von Martens. Targeting Uplift. An Introduction to Net Scores.

Where: metrics module

Explanation

πŸ“Œ The ASD (average squared deviation) is a model stability metric shows that model does not overfit on training data (extremely important in uplift modeling).

image

Explanation of what are l^T and l^V you can get from the table:

image (page 103) This table 4.1 is a source for the ASD metric. Table is already implemented as metrics.uplift_by_percentile function.

πŸ“Œ Realization of the metric comes down to the next steps:

Additional context

Please provide screenshots with working examples.

Mogby commented 3 years ago

I take it