# Module: tf.keras.wrappers.scikit_learn

<br />

|---|
| [![](https://www.tensorflow.org/images/tf_logo_32px.png) TensorFlow 2 version](https://www.tensorflow.org/api_docs/python/tf/keras/wrappers/scikit_learn) |

Wrapper for using the Scikit-Learn API with Keras models.

#### View aliases


**Compat aliases for migration**

See
[Migration guide](https://www.tensorflow.org/guide/migrate) for
more details.

[`tf.compat.v1.keras.wrappers.scikit_learn`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/keras/wrappers/scikit_learn)

<br />

## Classes

[`class KerasClassifier`](https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/keras/wrappers/scikit_learn/KerasClassifier): Implementation of the scikit-learn classifier API for Keras.

[`class KerasRegressor`](https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/keras/wrappers/scikit_learn/KerasRegressor): Implementation of the scikit-learn regressor API for Keras.