Skip to content

Commit

Permalink
Merge pull request guillermo-navas-palencia#225 from guillermo-navas-…
Browse files Browse the repository at this point in the history
…palencia/develop

Develop
  • Loading branch information
guillermo-navas-palencia committed Dec 15, 2022
2 parents 4be85cd + 8931654 commit d20ed46
Show file tree
Hide file tree
Showing 31 changed files with 1,329 additions and 928 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@ OptBinning requires

* matplotlib
* numpy (>=1.16.1)
* ortools (>=7.2)
* ortools (>=9.4)
* pandas
* ropwr (>=0.4.0)
* scikit-learn (>=0.22.0)
* scikit-learn (>=1.0.2)
* scipy (>=1.6.0)

OptBinning[distributed] requires additional packages
Expand Down
4 changes: 2 additions & 2 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
author = 'Guillermo Navas-Palencia'

# The short X.Y version
version = '0.17.1'
version = '0.17.2'
# The full version, including alpha/beta/rc tags
release = '0.17.1'
release = '0.17.2'


# -- General configuration ---------------------------------------------------
Expand Down
37 changes: 27 additions & 10 deletions doc/source/release_notes.rst
Original file line number Diff line number Diff line change
@@ -1,14 +1,31 @@
Release Notes
=============

Version 0.17.2 (2022-12-15)
---------------------------

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`` (`Issue 222 <https://github.com/guillermo-navas-palencia/optbinning/issues/222>`_).
- Remove preprocessing step when monotonic trend in (ascending, descending) for scenario-based binning (`Issue 216 <https://github.com/guillermo-navas-palencia/optbinning/issues/216>`_).

Dependencies:

- Update scikit-learn and ortools required versions.


Version 0.17.1 (2022-11-20)
---------------------------

New features
New features:

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

Improvements
Improvements:

- Add method ``decision_function`` to ``Scorecard`` (`Issue 198 <https://github.com/guillermo-navas-palencia/optbinning/issues/198>`_).

Expand All @@ -35,12 +52,12 @@ New features:

- Outlier detector ``YQuantileDetector`` for continuous target (`Issue 203 <https://github.com/guillermo-navas-palencia/optbinning/issues/203>`_).

Improvements
Improvements:

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

Bugfixes
Bugfixes:

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

Expand All @@ -52,13 +69,13 @@ New features:

- Treatment of special codes separately for optimal piecewise binning classes (`Issue 191 <https://github.com/guillermo-navas-palencia/optbinning/issues/191>`_).

Improvements
Improvements:

- Allow plot ``style="actual"`` for stochastic optimal binning.
- Unit testing optimal piecewise binning classes (`Issue 93 <https://github.com/guillermo-navas-palencia/optbinning/issues/93>`_).
- Unit testing add macOS Monterey 12.

Bugfixes
Bugfixes:

- Fix sample weight for ``BinningProcess`` when ``n_jobs != 1`` (`Issue 190 <https://github.com/guillermo-navas-palencia/optbinning/issues/190>`_).
- Fix transform method for optimal binning 2D when dtype is categorical (`Issue 197 <https://github.com/guillermo-navas-palencia/optbinning/issues/197>`_).
Expand All @@ -80,12 +97,12 @@ New features:

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

Improvements
Improvements:

- Integer intercept if ``rounding=True`` (`Issue 165 <https://github.com/guillermo-navas-palencia/optbinning/issues/165>`_).
- Parameter ``show_digits`` applies to scorecard table bin column (`Issue 170 <https://github.com/guillermo-navas-palencia/optbinning/issues/170>`_).

Bugfixes
Bugfixes:

- Fix ``Scorecard.score`` method when there are special and missing bins. (`Issue 179 <https://github.com/guillermo-navas-palencia/optbinning/pull/179>`_).
- Fix x and y axis labels in ``OptimalBinning2D`` plots, x and y were interchanged.
Expand All @@ -94,7 +111,7 @@ Bugfixes
Version 0.14.1 (2022-04-11)
---------------------------

Bugfixes
Bugfixes:

- Fix new setup function.

Expand Down Expand Up @@ -144,7 +161,7 @@ Bugfixes:

- Various bug fixes for the ``OptimalBinning2D`` class. See `Issue 138 <https://github.com/guillermo-navas-palencia/optbinning/issues/138>`_, for instance.

Tutorials
Tutorials:

- Tutorial: optimal binning 2D with binary target

Expand Down
926 changes: 463 additions & 463 deletions doc/source/tutorials/tutorial_binary.ipynb

Large diffs are not rendered by default.

48 changes: 24 additions & 24 deletions doc/source/tutorials/tutorial_binary_large_scale.ipynb

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions doc/source/tutorials/tutorial_binary_localsolver.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"optbinning (Version 0.17.1)\n",
"optbinning (Version 0.17.2)\n",
"Copyright (c) 2019-2022 Guillermo Navas-Palencia, Apache License 2.0\n",
"\n",
" Name : REGION_POPULATION_RELATIVE \n",
Expand Down Expand Up @@ -398,7 +398,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"optbinning (Version 0.17.1)\n",
"optbinning (Version 0.17.2)\n",
"Copyright (c) 2019-2022 Guillermo Navas-Palencia, Apache License 2.0\n",
"\n",
" Name : REGION_POPULATION_RELATIVE \n",
Expand Down Expand Up @@ -499,7 +499,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"optbinning (Version 0.17.1)\n",
"optbinning (Version 0.17.2)\n",
"Copyright (c) 2019-2022 Guillermo Navas-Palencia, Apache License 2.0\n",
"\n",
" Name : REGION_POPULATION_RELATIVE \n",
Expand Down Expand Up @@ -669,7 +669,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"optbinning (Version 0.17.1)\n",
"optbinning (Version 0.17.2)\n",
"Copyright (c) 2019-2022 Guillermo Navas-Palencia, Apache License 2.0\n",
"\n",
" Name : REGION_POPULATION_RELATIVE \n",
Expand Down
Loading

0 comments on commit d20ed46

Please sign in to comment.