Skip to content

Commit

Permalink
MAINT: Prepare for 0.4.0 release (#242)
Browse files Browse the repository at this point in the history
  • Loading branch information
adriangb committed Aug 31, 2021
1 parent c6a28fc commit 6de5a04
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 7 deletions.
12 changes: 12 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# History

## 0.4.0 (2021-08-30)

Features:

* Support routed parameters to callbacks (#233)

Changes:

* Official support for extra keyword arguments (`**kwargs`) in `fit()`, `predict()` and `predict_proba()` that are routed directly to Keras (#238)
* Remove hard dependency on `tensorflow`, allowing users to choose `tensorflow-cpu` or other distributions in environments where they can't control `pip` arguments (#237)
* Remove hard dependency on `tensorflow`, allowing users to choose `tensorflow-cpu` or other distributions (#237)

## 0.3.1 (2021-04-12)

Fixes:
Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ pip install scikeras

The only dependencies are `scikit-learn>=0.22` and `TensorFlow>=2.4.0`.

You will need to manually install TensorFlow; due to TensorFlow's packaging it is not a direct dependency of SciKeras.
You can do this by running:

```bash
pip install tensorflow
```

### Migrating from `tf.keras.wrappers.scikit_learn`

Please see the [migration](https://www.adriangb.com/scikeras/stable/migration.html) section of our documentation.
Expand Down
19 changes: 13 additions & 6 deletions docs/source/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,24 +17,31 @@ To install with pip, run:
We recommend to use a virtual environment for this.

To install without any dependencies, eg. to use a custom
TensorFlow build or `tensorflow-cpu`_, you can instruct pip to ignore dependencies:
You will need to manually install TensorFlow; due to TensorFlow's packaging it is not a direct dependency of SciKeras.
You can do this by running:

.. code:: bash
pip install tensorflow
This allows you to install an alternative TensorFlow binary, for example `tensorflow-cpu`_.

You can also install SciKeras without any dependencies, for example to install a nightly version of Scikit-Learn:

.. code:: bash
pip install --no-deps scikeras
Then manually install compatible versions of TensorFlow and Scikit-Learn.
As of SciKeras v0.3.3, the minimum required versions are as follows:
As of SciKeras v0.4.0, the minimum required versions are as follows:

- TensorFlow: v2.4.0
- Scikit-Learn: v0.22.0

Developer Installation
~~~~~~~~~~~~~~~~~~~~~~

If you would like to use the must recent additions to scikeras or
help development, you should install scikeras from source.
If you would like to use the must recent additions to SciKeras or
help development, you should install SciKeras from source.

We use Poetry_ to manage dependencies.

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ license = "MIT"
name = "scikeras"
readme = "README.md"
repository = "https://github.com/adriangb/scikeras"
version = "0.3.3"
version = "0.4.0"

[tool.poetry.dependencies]
importlib-metadata = {version = "^3", python = "<3.8"}
Expand Down

0 comments on commit 6de5a04

Please sign in to comment.