Skip to content

Commit

Permalink
add tensorflow to extra installs
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigo-arenas committed Mar 15, 2023
1 parent 2407115 commit 9d01b5f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
5 changes: 1 addition & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,11 @@ It's advised to install sklearn-genetic using a virtual env, inside the env use:

pip install sklearn-genetic-opt

If you want to get all the features, including plotting and mlflow logging capabilities,
If you want to get all the features, including plotting, tensorboard and mlflow logging capabilities,
install all the extra packages::

pip install sklearn-genetic-opt[all]

The only optional dependency that the last command does not install, it's Tensorflow,
it is usually advised to look further which distribution works better for you.


Example: Hyperparameters Tuning
###############################
Expand Down
3 changes: 1 addition & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ and :class:`~sklearn_genetic.callbacks.TensorBoard` correspondingly.
- MLflow (>= |MLflowMinVersion|)
- Tensorflow (>= |TensorflowMinVersion|)

This command will install all the extra requirements, except for Tensorflow,
as it is usually advised to look further which distribution works better for you::
This command will install all the extra requirements::

pip install sklearn-genetic-opt[all]

Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@
extras_require={
"mlflow": ["mlflow>=1.17.0"],
"seaborn": ["seaborn>=0.11.2"],
"all": ["mlflow>=1.30.0", "seaborn>=0.11.2"],
"tensorflow": ["tensorflow>=2.0.0"],
"all": ["mlflow>=1.30.0", "seaborn>=0.11.2", "tensorflow>=2.0.0"],
},
python_requires=">=3.8",
include_package_data=True,
Expand Down

0 comments on commit 9d01b5f

Please sign in to comment.