# tfma.MetricConfig

<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/proto/config.proto) |

A ProtocolMessage

### Used in the notebooks

| Used in the tutorials |
|---|
| - [TFX Keras Component Tutorial](https://www.tensorflow.org/tfx/tutorials/tfx/components_keras) - [Better ML Engineering with ML Metadata](https://www.tensorflow.org/tfx/tutorials/mlmd/mlmd_tutorial) - [TFX Estimator Component Tutorial](https://www.tensorflow.org/tfx/tutorials/tfx/components) |

<br />

<br />

<br />

| ## Attributes ||
|---|---|
| `class_name` | `string class_name` |
| `config` | `string config` |
| `cross_slice_thresholds` | `repeated CrossSliceMetricThreshold cross_slice_thresholds` |
| `module` | `string module` |
| `per_slice_thresholds` | `repeated PerSliceMetricThreshold per_slice_thresholds` |
| `threshold` | `MetricThreshold threshold` |

<br />