OptimalBinningWoE: Optimal Binning and Weight of Evidence Framework for Modeling
High-performance implementation of 28 binning algorithms (37
implementations: 21 numerical, 16 categorical) for Weight of Evidence
('WoE') transformation, credit scoring, and risk modeling. Methods include
dynamic programming over ordered levels, entropy-based ('MDLP') and
chi-square ('ChiMerge') partitioning, isotonic regression, simulated
annealing, kernel-density binning, sketch-based binning (KLL and
Count-Min), and greedy merging heuristics. Features a default algorithm
chosen from the target type, monotonicity enforcement where the algorithm
supports it, and efficient handling of large datasets via 'Rcpp'. Provides
automated variable screening by Information Value strength and bin
ordering, and generation of the equivalent 'SQL' 'CASE' expressions for
in-database scoring. Fully integrated with the 'tidymodels' ecosystem for
building robust machine learning pipelines.
Based on methods described in Siddiqi (2006) <doi:10.1002/9781119201731>
and Navas-Palencia (2020) <doi:10.48550/arXiv.2001.08025>.
| Version: |
1.14.1 |
| Depends: |
R (≥ 4.1.0) |
| Imports: |
Rcpp, recipes, rlang, tibble, dials, stats, utils, graphics |
| LinkingTo: |
Rcpp |
| Suggests: |
testthat (≥ 3.0.0), data.table, openxlsx, glmnet, generics, knitr, rmarkdown, tidymodels, workflows, parsnip, tune |
| Published: |
2026-11-22 |
| DOI: |
10.32614/CRAN.package.OptimalBinningWoE |
| Author: |
José Evandeilton Lopes
[aut, cre,
cph] |
| Maintainer: |
José Evandeilton Lopes <evandeilton at gmail.com> |
| BugReports: |
https://github.com/evandeilton/OptimalBinningWoE/issues |
| License: |
MIT + file LICENSE |
| URL: |
https://github.com/evandeilton/OptimalBinningWoE,
https://evandeilton.github.io/OptimalBinningWoE/ |
| NeedsCompilation: |
yes |
| SystemRequirements: |
C++17 |
| Language: |
en-US |
| Materials: |
README, NEWS |
| CRAN checks: |
OptimalBinningWoE results |
Documentation:
Downloads:
Reverse dependencies:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=OptimalBinningWoE
to link to this page.