in scorecard.py. The failure is not a Python Exception or any other error, but that the above function will return an empty X_t, which will lead to Exception in following code.
With the same training dataset, if I replace all -1 with 0, the binning and scoring can run successfully.
I am not sure if this is a known issue or if I miss something. Any advice will be appreciated.
TBH I am not pretty sure if I use BinningProcess and Scorecard in the perfect way. But I encounter a problem:
If my training dataset has many
-1
, the scorecard.fit() will fail. More specifically, it will fail at this place:in
scorecard.py
. The failure is not a Python Exception or any other error, but that the above function will return an emptyX_t
, which will lead to Exception in following code.With the same training dataset, if I replace all
-1
with0
, the binning and scoring can run successfully.I am not sure if this is a known issue or if I miss something. Any advice will be appreciated.
I use 0.18.0 BTW.