Skip to contents

Select the Best Model for Optimal Binning

Usage

OBSelectBestModel(
  dt,
  target,
  features,
  method = NULL,
  min_bins,
  max_bins,
  control,
  progress = TRUE,
  trace = FALSE
)

Arguments

dt

data.frame with target + feature columns.

target

Name of the target column.

features

Character vector of feature names.

method

String or vector; methods to try or "auto".

min_bins

Integer.

max_bins

Integer.

control

List of control parameters.

progress

Logical; show progress bar.

trace

Logical; print method errors.

Value

Named list of results per feature: each has woebin, woefeature, report, bestmethod.