View source on GitHub |
Returns thresholds associated with given metrics specs.
tfma.metrics.metric_thresholds_from_metrics_specs(
metrics_specs: Iterable[tfma.MetricsSpec
],
eval_config: Optional[tfma.EvalConfig
] = None
) -> Dict[metric_types.MetricKey, Iterable[_SliceAndThreshold]]