# Module: tfma.extractors

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/model-analysis/blob/v0.46.0/tensorflow_model_analysis/extractors/__init__.py) |

Init module for TensorFlow Model Analysis extractors.

## Classes

[`class Extractor`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/extractors/Extractor): Extractor(stage_name, ptransform)

## Functions

[`ExampleWeightsExtractor(...)`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/extractors/ExampleWeightsExtractor): Creates an extractor for extracting example weights.

[`FeatureExtractor(...)`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/extractors/FeatureExtractor)

[`FeaturesExtractor(...)`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/extractors/FeaturesExtractor): Creates an extractor for extracting features.

[`Filter(...)`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/extractors/Filter): Filters extracts to include/exclude specified keys.

[`InputExtractor(...)`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/extractors/InputExtractor): Creates an extractor for extracting features, labels, and example weights.

[`LabelsExtractor(...)`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/extractors/LabelsExtractor): Creates an extractor for extracting labels.

[`PredictExtractor(...)`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/extractors/PredictExtractor): Creates an Extractor for TFMAPredict.

[`PredictionsExtractor(...)`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/extractors/PredictionsExtractor): Creates an extractor for performing predictions over a batch.

[`SliceKeyExtractor(...)`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/extractors/SliceKeyExtractor): Creates an extractor for extracting slice keys.

[`TransformedFeaturesExtractor(...)`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/extractors/TransformedFeaturesExtractor): Creates an extractor for extracting transformed features.

[`UnbatchExtractor(...)`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/extractors/UnbatchExtractor): Creates an extractor for unbatching batched extracts.

<br />

<br />

<br />

| ## Other Members ||
|---|---|
| SLICE_KEY_EXTRACTOR_STAGE_NAME | `'ExtractSliceKeys'` |

<br />