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 ?
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 ?