Skip to content

Commit

Permalink
Merge pull request #31 from rodrigo-arenas/0.6.Xdev
Browse files Browse the repository at this point in the history
BaseSearchCV Partial Inheritance
  • Loading branch information
rodrigo-arenas committed Jun 23, 2021
2 parents d8d9ce4 + d5802bf commit 2cccdc8
Show file tree
Hide file tree
Showing 6 changed files with 165 additions and 213 deletions.
7 changes: 3 additions & 4 deletions docs/api/gasearchcv.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ GASearchCV

.. autoclass:: sklearn_genetic.GASearchCV
:members:
:exclude-members: evaluate, mutate
:undoc-members: False


:inherited-members:
:exclude-members: evaluate, mutate, n_features_in_, classes_
:undoc-members: True
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"sphinx.ext.autodoc",
"sphinx.ext.autosummary",
"numpydoc",
"sphinx.ext.napoleon",
# "sphinx.ext.napoleon",
"sphinx.ext.mathjax",
"sphinx.ext.viewcode",
"sphinx_copybutton",
Expand Down
2 changes: 2 additions & 0 deletions docs/release_notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ Features:
the iterations after a total (threshold) fitting time has been elapsed.
* Now if one or more callbacks decides to stop the algorithm, it will print
its class name to know which callbacks were responsible of the stopping.
* Added support for extra methods coming from scikit-learn's BaseSearchCV, it is
still partial support, missing properties like `cv_results_`, `best_index_` and `multimetric_`.

^^^^^
Docs:
Expand Down
1 change: 0 additions & 1 deletion sklearn_genetic/callbacks/early_stoppers.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from datetime import datetime
import logging

from .validations import check_stats
from .base import BaseCallback
Expand Down

0 comments on commit 2cccdc8

Please sign in to comment.