# Module: tfma.post_export_metrics

<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/post_export_metrics/post_export_metrics.py) |

Library containing helpers for adding post export metrics for evaluation.

These post export metrics can be included in the add_post_export_metrics
parameter of Evaluate to compute them.

## Functions

[`auc(...)`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/post_export_metrics/auc): This is the function that the user calls.

[`auc_plots(...)`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/post_export_metrics/auc_plots): This is the function that the user calls.

[`calibration(...)`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/post_export_metrics/calibration): This is the function that the user calls.

[`calibration_plot_and_prediction_histogram(...)`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/post_export_metrics/calibration_plot_and_prediction_histogram): This is the function that the user calls.

[`confusion_matrix_at_thresholds(...)`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/post_export_metrics/confusion_matrix_at_thresholds): This is the function that the user calls.

[`example_count(...)`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/post_export_metrics/example_count): This is the function that the user calls.

[`example_weight(...)`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/post_export_metrics/example_weight): This is the function that the user calls.

[`fairness_auc(...)`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/post_export_metrics/fairness_auc): This is the function that the user calls.

[`fairness_indicators(...)`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/post_export_metrics/fairness_indicators): This is the function that the user calls.

[`mean_absolute_error(...)`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/post_export_metrics/mean_absolute_error): This is the function that the user calls.

[`mean_squared_error(...)`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/post_export_metrics/mean_squared_error): This is the function that the user calls.

[`precision_at_k(...)`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/post_export_metrics/precision_at_k): This is the function that the user calls.

[`recall_at_k(...)`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/post_export_metrics/recall_at_k): This is the function that the user calls.

[`root_mean_squared_error(...)`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/post_export_metrics/root_mean_squared_error): This is the function that the user calls.

[`squared_pearson_correlation(...)`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/post_export_metrics/squared_pearson_correlation): This is the function that the user calls.

<br />

<br />

<br />

| ## Other Members ||
|---|---|
| DEFAULT_KEY_PREFERENCE | `('logistic', 'predictions', 'probabilities', 'logits')` |

<br />