Remove sklearn Keras wrapper (long deprecated).

PiperOrigin-RevId: 512979563
This commit is contained in:
Francois Chollet 2023-02-28 10:48:06 -08:00 committed by TensorFlower Gardener
parent 5c26134f4f
commit 947b3c6562
3 changed files with 7 additions and 4 deletions

View File

@ -5,6 +5,13 @@
* <DOCUMENT BREAKING CHANGES HERE>
* <THIS SECTION SHOULD CONTAIN API, ABI AND BEHAVIORAL BREAKING CHANGES>
* `tf.keras`
* Remove the Keras scikit-learn API wrappers (`KerasClassifier` and
`KerasRegressor`), which had been deprecated in August 2021.
We recommend using [SciKeras](https://github.com/adriangb/scikeras)
instead.
## Known Caveats
* <CAVEATS REGARDING THE RELEASE (BUT NOT BREAKING CHANGES).>

View File

@ -182,6 +182,4 @@ KERAS_API_INIT_FILES = [
"keras/utils/__init__.py",
"keras/utils/experimental/__init__.py",
"keras/utils/legacy/__init__.py",
"keras/wrappers/__init__.py",
"keras/wrappers/scikit_learn/__init__.py",
]

View File

@ -166,6 +166,4 @@ KERAS_API_INIT_FILES_V1 = [
"keras/regularizers/__init__.py",
"keras/utils/__init__.py",
"keras/utils/legacy/__init__.py",
"keras/wrappers/__init__.py",
"keras/wrappers/scikit_learn/__init__.py",
]