![]() |
A PlotKey is a metric key that uniquely identifies a plot.
Inherits From: MetricKey
tfma.metrics.PlotKey(
name: Text,
model_name: Text = '',
output_name: Text = '',
sub_key: Optional[tfma.metrics.SubKey
] = None,
aggregation_type: Optional[AggregationType] = None,
is_diff: Optional[bool] = False
)
Attributes | |
---|---|
name
|
|
model_name
|
|
output_name
|
|
sub_key
|
|
aggregation_type
|
|
is_diff
|
Methods
from_proto
@staticmethod
from_proto( pb: metrics_for_slice_pb2.PlotKey ) -> "PlotKey"
Configures class from proto.
make_baseline_key
make_baseline_key(
model_name: Text
) -> "MetricKey"
make_diff_key
make_diff_key() -> "MetricKey"
to_proto
to_proto() -> metrics_for_slice_pb2.PlotKey
Converts key to proto.