tfma.load_metrics
Stay organized with collections
Save and categorize content based on your preferences.
Read and deserialize the MetricsForSlice records.
tfma.load_metrics(
output_path: str, output_file_format: str = 'tfrecord'
) -> Iterator[tfma.MetricsForSlice
]
Used in the notebooks
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-04-26 UTC.
[null,null,["Last updated 2024-04-26 UTC."],[],[],null,["# tfma.load_metrics\n\n\u003cbr /\u003e\n\n|----------------------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/model-analysis/blob/v0.46.0/tensorflow_model_analysis/api/model_eval_lib.py#L208-L214) |\n\nRead and deserialize the MetricsForSlice records. \n\n tfma.load_metrics(\n output_path: str, output_file_format: str = 'tfrecord'\n ) -\u003e Iterator[../tfma/MetricsForSlice]\n\n### Used in the notebooks\n\n| Used in the tutorials |\n|---------------------------------------------------------------------------------------------------|\n| - [TensorFlow Model Analysis](https://www.tensorflow.org/tfx/tutorials/model_analysis/tfma_basic) |"]]