# Module: tf.estimator.experimental

<br />

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

Public API for tf.estimator.experimental namespace.

#### View aliases


**Compat aliases for migration**

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

[`tf.compat.v1.estimator.experimental`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/estimator/experimental)

<br />

## Classes

[`class InMemoryEvaluatorHook`](https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/estimator/experimental/InMemoryEvaluatorHook): Hook to run evaluation in training without a checkpoint.

[`class KMeans`](https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/estimator/experimental/KMeans): An Estimator for K-Means clustering.

[`class LinearSDCA`](https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/estimator/experimental/LinearSDCA): Stochastic Dual Coordinate Ascent helper for linear estimators.

## Functions

[`build_raw_supervised_input_receiver_fn(...)`](https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/contrib/estimator/build_raw_supervised_input_receiver_fn): Build a supervised_input_receiver_fn for raw features and labels.

[`call_logit_fn(...)`](https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/estimator/experimental/call_logit_fn): Calls logit_fn (experimental).

[`dnn_logit_fn_builder(...)`](https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/contrib/estimator/dnn_logit_fn_builder): Function builder for a dnn logit_fn.

[`linear_logit_fn_builder(...)`](https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/contrib/estimator/linear_logit_fn_builder): Function builder for a linear logit_fn.

[`make_early_stopping_hook(...)`](https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/estimator/experimental/make_early_stopping_hook): Creates early-stopping hook.

[`make_stop_at_checkpoint_step_hook(...)`](https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/estimator/experimental/make_stop_at_checkpoint_step_hook): Creates a proper StopAtCheckpointStepHook based on chief status.

[`stop_if_higher_hook(...)`](https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/estimator/experimental/stop_if_higher_hook): Creates hook to stop if the given metric is higher than the threshold.

[`stop_if_lower_hook(...)`](https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/estimator/experimental/stop_if_lower_hook): Creates hook to stop if the given metric is lower than the threshold.

[`stop_if_no_decrease_hook(...)`](https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/estimator/experimental/stop_if_no_decrease_hook): Creates hook to stop if metric does not decrease within given max steps.

[`stop_if_no_increase_hook(...)`](https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/estimator/experimental/stop_if_no_increase_hook): Creates hook to stop if metric does not increase within given max steps.