Skip to content

MetricDefinition

Source code in docs_src/capo_cleanroomsml/types/metric_definition.py
class MetricDefinition(TypedDict, closed=True):
    name: "capo_cleanroomsml.types.metric_name.MetricName"
    """<p>The name of the model metric.</p>"""
    regex: "capo_cleanroomsml.types.metric_regex.MetricRegex"
    """<p>The regular expression statement that defines how the model metric is reported.</p>"""

name instance-attribute

name: MetricName

The name of the model metric.

regex instance-attribute

regex: MetricRegex

The regular expression statement that defines how the model metric is reported.