You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
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.
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)
inuplift_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?scikit-uplift/sklift/metrics/metrics.py
Line 653 in c9dd56a
The text was updated successfully, but these errors were encountered: