A quantitative tuning parameter for the minimum number of bins in
step_obwoe.
Usage
obwoe_min_bins(range = c(2L, 5L), trans = NULL)Details
The minimum number of bins constrains the algorithm to create at least
this many bins. Setting min_bins = 2 allows maximum flexibility,
while higher values ensure more granular discretization.
For credit scoring applications, min_bins is typically set between
2 and 4 to avoid forcing artificial splits on weakly predictive variables.
Examples
obwoe_min_bins()
#> Minimum Bins (quantitative)
#> Range: [2, 5]
obwoe_min_bins(range = c(3L, 7L))
#> Minimum Bins (quantitative)
#> Range: [3, 7]
