Skip to content

Commit

Permalink
Merge pull request #210 from guillermo-navas-palencia/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
guillermo-navas-palencia authored Nov 6, 2022
2 parents ceccfce + a1c0758 commit cccdf06
Show file tree
Hide file tree
Showing 37 changed files with 353 additions and 194 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ Print overview information about the options settings, problem statistics, and t
.. code-block:: text
optbinning (Version 0.16.0)
optbinning (Version 0.17.0)
Copyright (c) 2019-2022 Guillermo Navas-Palencia, Apache License 2.0
Begin options
Expand Down Expand Up @@ -395,7 +395,7 @@ and the number of selected variables after the binning process.
.. code-block:: text
optbinning (Version 0.16.0)
optbinning (Version 0.17.0)
Copyright (c) 2019-2022 Guillermo Navas-Palencia, Apache License 2.0
Begin options
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.16.1'
version = '0.17.0'
# The full version, including alpha/beta/rc tags
release = '0.16.1'
release = '0.17.0'


# -- General configuration ---------------------------------------------------
Expand Down
19 changes: 17 additions & 2 deletions doc/source/release_notes.rst
Original file line number Diff line number Diff line change
@@ -1,12 +1,27 @@
Release Notes
=============

Version 0.16.1 (2022-11-28)
Version 0.17.1 (2022-11-06)
---------------------------

New features:

- Outlier detector``YQuantileDetector`` for continuous target (`Issue 203 <https://github.com/guillermo-navas-palencia/optbinning/issues/203>`_).
- Optimize formulation of minimum difference constraints for all optimal binning classes and support these constraints regardless of the monotonic trend (`Issue 201 <https://github.com/guillermo-navas-palencia/optbinning/issues/201>`_).

- Implementation of sample weight for ``ContinuousOptimalBinning`` (`Issue 131 <https://github.com/guillermo-navas-palencia/optbinning/issues/131>`_).


Bugfixes:

- Fix ``ContinuousOptimalBinning`` prebinning step when no prebinning splits were generated (`Issue 205 <https://github.com/guillermo-navas-palencia/optbinning/issues/205>`_).


Version 0.16.1 (2022-10-28)
---------------------------

New features:

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

Improvements

Expand Down
12 changes: 6 additions & 6 deletions doc/source/tutorials/tutorial_binary.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1135,7 +1135,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"optbinning (Version 0.16.0)\n",
"optbinning (Version 0.17.0)\n",
"Copyright (c) 2019-2022 Guillermo Navas-Palencia, Apache License 2.0\n",
"\n",
" Name : mean radius \n",
Expand Down Expand Up @@ -1166,7 +1166,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"optbinning (Version 0.16.0)\n",
"optbinning (Version 0.17.0)\n",
"Copyright (c) 2019-2022 Guillermo Navas-Palencia, Apache License 2.0\n",
"\n",
" Name : mean radius \n",
Expand Down Expand Up @@ -1213,7 +1213,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"optbinning (Version 0.16.0)\n",
"optbinning (Version 0.17.0)\n",
"Copyright (c) 2019-2022 Guillermo Navas-Palencia, Apache License 2.0\n",
"\n",
" Begin options\n",
Expand Down Expand Up @@ -2091,7 +2091,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"optbinning (Version 0.16.0)\n",
"optbinning (Version 0.17.0)\n",
"Copyright (c) 2019-2022 Guillermo Navas-Palencia, Apache License 2.0\n",
"\n",
" Name : mean texture \n",
Expand Down Expand Up @@ -2373,7 +2373,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"optbinning (Version 0.16.0)\n",
"optbinning (Version 0.17.0)\n",
"Copyright (c) 2019-2022 Guillermo Navas-Palencia, Apache License 2.0\n",
"\n",
" Name : NAME_INCOME_TYPE \n",
Expand Down Expand Up @@ -2564,7 +2564,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"optbinning (Version 0.16.0)\n",
"optbinning (Version 0.17.0)\n",
"Copyright (c) 2019-2022 Guillermo Navas-Palencia, Apache License 2.0\n",
"\n",
" Name : AverageMInFile \n",
Expand Down
4 changes: 2 additions & 2 deletions doc/source/tutorials/tutorial_binary_large_scale.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"optbinning (Version 0.16.0)\n",
"optbinning (Version 0.17.0)\n",
"Copyright (c) 2019-2022 Guillermo Navas-Palencia, Apache License 2.0\n",
"\n",
" Name : REGION_POPULATION_RELATIVE \n",
Expand Down Expand Up @@ -309,7 +309,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"optbinning (Version 0.16.0)\n",
"optbinning (Version 0.17.0)\n",
"Copyright (c) 2019-2022 Guillermo Navas-Palencia, Apache License 2.0\n",
"\n",
" Name : REGION_POPULATION_RELATIVE \n",
Expand Down
10 changes: 5 additions & 5 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.16.0)\n",
"optbinning (Version 0.17.0)\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.16.0)\n",
"optbinning (Version 0.17.0)\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.16.0)\n",
"optbinning (Version 0.17.0)\n",
"Copyright (c) 2019-2022 Guillermo Navas-Palencia, Apache License 2.0\n",
"\n",
" Name : REGION_POPULATION_RELATIVE \n",
Expand Down Expand Up @@ -589,7 +589,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"The current solution is IV = 0.03514331, compared to the LocalSolver solver solution 0.03776231. Let us increase the time limit to 200 seconds."
"The current solution is IV = 0.03737164, compared to the LocalSolver solver solution 0.03776231. Let us increase the time limit to 200 seconds."
]
},
{
Expand Down Expand Up @@ -669,7 +669,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"optbinning (Version 0.16.0)\n",
"optbinning (Version 0.17.0)\n",
"Copyright (c) 2019-2022 Guillermo Navas-Palencia, Apache License 2.0\n",
"\n",
" Name : REGION_POPULATION_RELATIVE \n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"optbinning (Version 0.16.0)\n",
"optbinning (Version 0.17.0)\n",
"Copyright (c) 2019-2022 Guillermo Navas-Palencia, Apache License 2.0\n",
"\n",
" Begin options\n",
Expand Down
14 changes: 7 additions & 7 deletions doc/source/tutorials/tutorial_binning_2d.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1192,7 +1192,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"optbinning (Version 0.16.0)\n",
"optbinning (Version 0.17.0)\n",
"Copyright (c) 2019-2022 Guillermo Navas-Palencia, Apache License 2.0\n",
"\n",
" Begin options\n",
Expand Down Expand Up @@ -2606,7 +2606,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"optbinning (Version 0.16.0)\n",
"optbinning (Version 0.17.0)\n",
"Copyright (c) 2019-2022 Guillermo Navas-Palencia, Apache License 2.0\n",
"\n",
" Name : ExternalRiskEstimate-AverageMInFile\n",
Expand Down Expand Up @@ -2681,7 +2681,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"optbinning (Version 0.16.0)\n",
"optbinning (Version 0.17.0)\n",
"Copyright (c) 2019-2022 Guillermo Navas-Palencia, Apache License 2.0\n",
"\n",
" Name : ExternalRiskEstimate-AverageMInFile\n",
Expand Down Expand Up @@ -3065,7 +3065,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"optbinning (Version 0.16.0)\n",
"optbinning (Version 0.17.0)\n",
"Copyright (c) 2019-2022 Guillermo Navas-Palencia, Apache License 2.0\n",
"\n",
" Name : ExternalRiskEstimate-AverageMInFile\n",
Expand Down Expand Up @@ -3481,7 +3481,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"optbinning (Version 0.16.0)\n",
"optbinning (Version 0.17.0)\n",
"Copyright (c) 2019-2022 Guillermo Navas-Palencia, Apache License 2.0\n",
"\n",
" Name : ExternalRiskEstimate-AverageMInFile\n",
Expand Down Expand Up @@ -3558,7 +3558,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"optbinning (Version 0.16.0)\n",
"optbinning (Version 0.17.0)\n",
"Copyright (c) 2019-2022 Guillermo Navas-Palencia, Apache License 2.0\n",
"\n",
" Name : ExternalRiskEstimate-AverageMInFile\n",
Expand Down Expand Up @@ -3950,7 +3950,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"optbinning (Version 0.16.0)\n",
"optbinning (Version 0.17.0)\n",
"Copyright (c) 2019-2022 Guillermo Navas-Palencia, Apache License 2.0\n",
"\n",
" Name : ExternalRiskEstimate-AverageMInFile\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"optbinning (Version 0.16.0)\n",
"optbinning (Version 0.17.0)\n",
"Copyright (c) 2019-2022 Guillermo Navas-Palencia, Apache License 2.0\n",
"\n",
" Begin options\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"optbinning (Version 0.16.0)\n",
"optbinning (Version 0.17.0)\n",
"Copyright (c) 2019-2022 Guillermo Navas-Palencia, Apache License 2.0\n",
"\n",
" Statistics\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"optbinning (Version 0.16.0)\n",
"optbinning (Version 0.17.0)\n",
"Copyright (c) 2019-2022 Guillermo Navas-Palencia, Apache License 2.0\n",
"\n",
" Begin options\n",
Expand Down
2 changes: 1 addition & 1 deletion doc/source/tutorials/tutorial_continuous.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1022,7 +1022,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"optbinning (Version 0.16.0)\n",
"optbinning (Version 0.17.0)\n",
"Copyright (c) 2019-2022 Guillermo Navas-Palencia, Apache License 2.0\n",
"\n",
" Name : INDUS \n",
Expand Down
22 changes: 11 additions & 11 deletions doc/source/tutorials/tutorial_counterfactual_binary_target.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"optbinning (Version 0.16.0)\n",
"optbinning (Version 0.17.0)\n",
"Copyright (c) 2019-2022 Guillermo Navas-Palencia, Apache License 2.0\n",
"\n",
" Begin options\n",
Expand Down Expand Up @@ -751,7 +751,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"optbinning (Version 0.16.0)\n",
"optbinning (Version 0.17.0)\n",
"Copyright (c) 2019-2022 Guillermo Navas-Palencia, Apache License 2.0\n",
"\n",
" Status : OPTIMAL \n",
Expand Down Expand Up @@ -871,7 +871,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"optbinning (Version 0.16.0)\n",
"optbinning (Version 0.17.0)\n",
"Copyright (c) 2019-2022 Guillermo Navas-Palencia, Apache License 2.0\n",
"\n",
" Status : OPTIMAL \n",
Expand Down Expand Up @@ -990,7 +990,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"optbinning (Version 0.16.0)\n",
"optbinning (Version 0.17.0)\n",
"Copyright (c) 2019-2022 Guillermo Navas-Palencia, Apache License 2.0\n",
"\n",
" Status : OPTIMAL \n",
Expand Down Expand Up @@ -1111,7 +1111,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"optbinning (Version 0.16.0)\n",
"optbinning (Version 0.17.0)\n",
"Copyright (c) 2019-2022 Guillermo Navas-Palencia, Apache License 2.0\n",
"\n",
" Status : OPTIMAL \n",
Expand Down Expand Up @@ -1294,7 +1294,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"optbinning (Version 0.16.0)\n",
"optbinning (Version 0.17.0)\n",
"Copyright (c) 2019-2022 Guillermo Navas-Palencia, Apache License 2.0\n",
"\n",
" Status : FEASIBLE \n",
Expand Down Expand Up @@ -1450,7 +1450,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"optbinning (Version 0.16.0)\n",
"optbinning (Version 0.17.0)\n",
"Copyright (c) 2019-2022 Guillermo Navas-Palencia, Apache License 2.0\n",
"\n",
" Status : OPTIMAL \n",
Expand Down Expand Up @@ -1606,7 +1606,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"optbinning (Version 0.16.0)\n",
"optbinning (Version 0.17.0)\n",
"Copyright (c) 2019-2022 Guillermo Navas-Palencia, Apache License 2.0\n",
"\n",
" Status : OPTIMAL \n",
Expand Down Expand Up @@ -1893,7 +1893,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"optbinning (Version 0.16.0)\n",
"optbinning (Version 0.17.0)\n",
"Copyright (c) 2019-2022 Guillermo Navas-Palencia, Apache License 2.0\n",
"\n",
" Status : OPTIMAL \n",
Expand Down Expand Up @@ -2030,7 +2030,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"optbinning (Version 0.16.0)\n",
"optbinning (Version 0.17.0)\n",
"Copyright (c) 2019-2022 Guillermo Navas-Palencia, Apache License 2.0\n",
"\n",
" Status : OPTIMAL \n",
Expand Down Expand Up @@ -2169,7 +2169,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"optbinning (Version 0.16.0)\n",
"optbinning (Version 0.17.0)\n",
"Copyright (c) 2019-2022 Guillermo Navas-Palencia, Apache License 2.0\n",
"\n",
" Status : OPTIMAL \n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"optbinning (Version 0.16.0)\n",
"optbinning (Version 0.17.0)\n",
"Copyright (c) 2019-2022 Guillermo Navas-Palencia, Apache License 2.0\n",
"\n",
" Status : OPTIMAL \n",
Expand Down
Loading

0 comments on commit cccdf06

Please sign in to comment.