Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Predicted vs actual uplift not possible anymore #169

Open
steprandelli opened this issue Sep 20, 2021 · 1 comment
Open

Predicted vs actual uplift not possible anymore #169

steprandelli opened this issue Sep 20, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@steprandelli
Copy link

steprandelli commented Sep 20, 2021

Hi!

We are using uplift_by_percentile to compute predicted and actual uplift by decile of predicted uplift.
This is then used to compute MSRC as mentioned in Michel, R., Schnakenburg, I. and von Martens, T., 2019. Targeting Uplift. An Introduction to Net Scores/by René Michel, Igor Schnakenburg, Tobias von Martens.

Since PR 120 this is not possible due to check_is_binary(y_true) in uplift_by_percentile function.
We'd like to use this function passing to y_true a float with the prediction.

May we check y_true is a float instead of a boolean?

check_is_binary(y_true)

@maks-sh
Copy link
Owner

maks-sh commented Sep 29, 2021

Hello!

Sorry for the long answer.

Thank you for your feedback! This is a good idea.

Could you please contribute the code of Model Stability Rank Correlation metric?
In this PR you can remove this checker from uplift_by_percentile function.

@maks-sh maks-sh added the enhancement New feature or request label Sep 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants