View source on GitHub |
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