optbinning
optbinning copied to clipboard
test data can't do binning_table build and plot
In score card if we want to compare a variable results respectively in train and test,we can not do woe or event_rate in test data.We can only do it in train data byoptb.binning_table.plot(metric='woe)
.Please add some function in test data?
Hi @Spencerai
I do not consider this requested feature very relevant at this stage of the development. Many modellers apply binning to the whole dataset before splitting the data for model training. However, you can create a binning table using the test data with the BinningTable
class: http://gnpalencia.org/optbinning/binning_tables.html.
If you would like to add extra functionalities, I welcome PRs.
Thanks, Guillermo