Optbinning Versions Save

Optimal binning: monotonic binning with constraints. Support batch & stream optimal binning. Scorecard modelling and counterfactual explanations.

v0.19.0

3 months ago

Improvements:

  • Adjust plot size #244.
  • Save optimal binning object in JSON format #96.
  • Plot IV/WoE metric in binning table plot for binary and continuous target.

Bugfixes:

  • Keep pandas.DataFrame index in transform method #286.
  • Fix BinningProcess's binning_transform_params="bins" #266 .

v0.18.0

7 months ago

Bugfixes:

  • Fix numpy array object #229
  • Fix show_bin_labels #262
  • Fix special_codes_y #263

v0.17.3

1 year ago

Version 0.17.3 (2023-02-12)

Improvements:

  • Implement sample_weight check in Scorecard class #228.

Bugfixes:

  • Fix metric_missing ignored in Scorecard class #226.

Dependencies:

  • Update RoPWR required version.

v0.17.2

1 year ago

Improvements:

  • Modify max-pvalue and min_diff constraints for CP and MIP formulation to avoid suboptimal solutions.

Bugfixes:

  • Use keyword arguments in compute_class_weight #222.
  • Remove preprocessing step when monotonic trend in (ascending, descending) for scenario-based binning #216 .

Dependencies:

  • Update scikit-learn and ortools required versions.

v0.17.1

1 year ago

New features

  • Add parameter cat_unknown to assign values to the unobserved categories during training.

Improvements

  • Add method decision_function to Scorecard #198.

v0.17.0

1 year ago

New features:

  • Optimize formulation of minimum difference constraints for all optimal binning classes and support these constraints regardless of the monotonic trend #201.

  • Implementation of sample weight for ContinuousOptimalBinning #131.

Bugfixes:

  • Fix ContinuousOptimalBinning prebinning step when no prebinning splits were generated #205.

v0.16.1

1 year ago

New features:

  • Outlier detectorYQuantileDetector for continuous target #203.

Improvements

  • Add support to solver SCS and HIGHS for optimal piecewise binning classes.
  • Unit testing outlier detector methods.

Bugfixes

  • Pass lb and ub as keyword arguments to RoPWR fit method (required since ropwr>=0.4.0).

v0.16.0

1 year ago

New features:

  • Treatment of special codes separately for optimal piecewise binning classes #191.

Improvements

  • Allow plot style="actual" for stochastic optimal binning.
  • Unit testing optimal piecewise binning classes #93.
  • Unit testing add macOS Monterey 12.

Bugfixes

  • Fix sample weight for BinningProcess when n_jobs != 1 #190.
  • Fix transform method for optimal binning 2D when dtype is categorical #197.
  • Fix max_pvalue default value in documentation #199.

v0.15.1

1 year ago

New features:

  • New parameter show_bin_labels for binning tables #180.

v0.15.0

1 year ago

New features:

  • Optimal binning 2D support to categorical variables for binary and continuous target.

Improvements

  • Integer intercept if rounding=True #165.
  • Parameter show_digits applies to scorecard table bin column #170.

Bugfixes

  • Fix Scorecard.score method when there are special and missing bins #179.

  • Fix x and y axis labels in OptimalBinning2D plots, x and y were interchanged.