tfma.metrics.MetricKey

A MetricKey uniquely identifies a metric.

name Metric name. Names starting with '' are private and will be filtered from the final results. Names starting with two underscores, '_' are reserved for internal use.
model_name Optional model name (if multi-model evaluation).
output_name Optional output name (if multi-output model type).
sub_key Optional sub key.
aggregation_type Optional Aggregation type.
example_weighted Indicates whether this metric was weighted by examples.
is_diff Optional flag to indicate whether this metrics is a diff metric.

Methods

from_proto

View source

Configures class from proto.

make_baseline_key

View source

make_diff_key

View source

to_proto

View source

Converts key to proto.