Skip to content

Commit

Permalink
Merge pull request #28 from rodrigo-arenas/0.6.Xdev
Browse files Browse the repository at this point in the history
Documentantion and logging upgrades
  • Loading branch information
rodrigo-arenas committed Jun 23, 2021
2 parents 883780e + 645ceaf commit dacf466
Show file tree
Hide file tree
Showing 22 changed files with 865 additions and 314 deletions.
16 changes: 8 additions & 8 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,21 +32,21 @@ Documentation is available `here <https://sklearn-genetic-opt.readthedocs.io/>`_

Sampled distribution of hyperparameters:

.. image:: https://github.com/rodrigo-arenas/Sklearn-genetic-opt/blob/master/demo/images/density.png?raw=true
.. image:: https://github.com/rodrigo-arenas/Sklearn-genetic-opt/blob/master/docs/images/density.png?raw=true

Optimization progress in a regression problem:

.. image:: https://github.com/rodrigo-arenas/Sklearn-genetic-opt/blob/master/demo/images/fitness.png?raw=true
.. image:: https://github.com/rodrigo-arenas/Sklearn-genetic-opt/blob/master/docs/images/fitness.png?raw=true


Main Features:
##############

* **GASearchCV**: Principal class of the package, holds the evolutionary cross validation optimization routine
* **Algorithms**: Set of different evolutionary algorithms to use as optimization procedure
* **Callbacks**: Custom evaluation strategies to generate Early Stopping rules
* **Plots**: Generate pre-define plots to understand the optimization process
* **MLflow**: Build-in integration with mlflow to log all the hyperparameters and their cv-score
* **GASearchCV**: Principal class of the package, holds the evolutionary cross validation optimization routine.
* **Algorithms**: Set of different evolutionary algorithms to use as optimization procedure.
* **Callbacks**: Custom evaluation strategies to generate early stopping rules, logging or custom logic.
* **Plots**: Generate pre-define plots to understand the optimization process.
* **MLflow**: Build-in integration with mlflow to log all the hyperparameters, cv-scores and the fitted models.

Usage:
######
Expand Down Expand Up @@ -114,7 +114,7 @@ Results

Log controlled by verbosity

.. image:: https://github.com/rodrigo-arenas/Sklearn-genetic-opt/blob/master/demo/images/log.JPG?raw=true
.. image:: https://github.com/rodrigo-arenas/Sklearn-genetic-opt/blob/master/docs/images/log.JPG?raw=true

Changelog
#########
Expand Down
318 changes: 318 additions & 0 deletions demo/Boson_Houses_decision_tree.ipynb

Large diffs are not rendered by default.

67 changes: 0 additions & 67 deletions demo/Boson_Houses_decision_tree.py

This file was deleted.

13 changes: 1 addition & 12 deletions demo/Demo_Digits_Dataset.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,7 @@
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"C:\\Users\\ASUS\\miniconda3\\lib\\site-packages\\numpy\\_distributor_init.py:30: UserWarning: loaded more than 1 DLL from .libs:\n",
"C:\\Users\\ASUS\\miniconda3\\lib\\site-packages\\numpy\\.libs\\libopenblas.NOIJJG62EMASZI6NYURL6JBKM4EVBGM7.gfortran-win_amd64.dll\n",
"C:\\Users\\ASUS\\miniconda3\\lib\\site-packages\\numpy\\.libs\\libopenblas.PYQHXLVVQ7VESDPUVUADXEVJOBGHJPAY.gfortran-win_amd64.dll\n",
" warnings.warn(\"loaded more than 1 DLL from .libs:\\n%s\" %\n"
]
}
],
"outputs": [],
"source": [
"from sklearn_genetic import GASearchCV\n",
"from sklearn.linear_model import SGDClassifier\n",
Expand Down
91 changes: 0 additions & 91 deletions demo/Demo_Digits_Dataset.py

This file was deleted.

0 comments on commit dacf466

Please sign in to comment.