tfma.metrics.to_standard_metric_inputs
Stay organized with collections
Save and categorize content based on your preferences.
Verifies extract keys and converts extracts to StandardMetricInputs.
tfma.metrics.to_standard_metric_inputs(
extracts: tfma.types.Extracts
,
include_labels: bool = True,
include_predictions: bool = True,
include_features: bool = False,
include_transformed_features: bool = False,
include_any_feature: bool = False,
include_attributions: bool = False
) -> tfma.metrics.StandardMetricInputs
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.metrics.to_standard_metric_inputs\n\n\u003cbr /\u003e\n\n|-----------------------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/model-analysis/blob/v0.46.0/tensorflow_model_analysis/metrics/metric_util.py#L243-L285) |\n\nVerifies extract keys and converts extracts to StandardMetricInputs. \n\n tfma.metrics.to_standard_metric_inputs(\n extracts: ../../tfma/types/Extracts,\n include_labels: bool = True,\n include_predictions: bool = True,\n include_features: bool = False,\n include_transformed_features: bool = False,\n include_any_feature: bool = False,\n include_attributions: bool = False\n ) -\u003e ../../tfma/metrics/StandardMetricInputs"]]