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
When subfunction {response_rate_by_percentile} is executed based on the prediction of a model, if the variable group_size has a value of 0, the variable response_rate will have a value of nan. Finally, function {weighted_average_uplift} will return a nan value.
Expected behavior
Requires additional handling of nan values.
Environment
scikit-uplift version (e.g., 0.1.2):
scikit-learn version (e.g., 0.22.2):
Python version (e.g., 3.7):
OS (e.g., Linux):
Any other relevant information:
Additional context
The text was updated successfully, but these errors were encountered:
🐛 Bug
To Reproduce
Steps to reproduce the behavior:
When subfunction {response_rate_by_percentile} is executed based on the prediction of a model, if the variable group_size has a value of 0, the variable response_rate will have a value of nan. Finally, function {weighted_average_uplift} will return a nan value.
Expected behavior
Requires additional handling of nan values.
Environment
Additional context
The text was updated successfully, but these errors were encountered: