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
scorecard3.table(style='detailed') is some positive number, however the actual result should be zero, since there are only two bins . So one bin gets 100 and the other get 0.
expected results
by simply configure metric_special='empirical', will give the correct results, even though there is no special cases in the data or in the binning_process
I have a fix for that. It is actually quite obvious. The source code just ignored the argument metric_missing when metric_special !='empirical' However I found no docs about where and how to put new tests in this project. Can anyone give me some info ?
The text was updated successfully, but these errors were encountered:
peterpanmj
added a commit
to peterpanmj/optbinning
that referenced
this issue
Dec 18, 2022
description
Scorecard._fit
will ignore the metric_missing=0 parameter, when build scorecard. Iexample
current behaviour
scorecard3.table(style='detailed') is some positive number, however the actual result should be zero, since there are only two bins . So one bin gets 100 and the other get 0.
expected results
by simply configure
metric_special='empirical'
, will give the correct results, even though there is nospecial
cases in the data or in thebinning_process
I have a fix for that. It is actually quite obvious. The source code just ignored the argument
metric_missing
whenmetric_special !='empirical'
However I found no docs about where and how to put new tests in this project. Can anyone give me some info ?The text was updated successfully, but these errors were encountered: