Interface MetricDefinition.Builder

    • Method Detail

      • name

        MetricDefinition.Builder name​(String name)

        The name of the metric.

        Parameters:
        name - The name of the metric.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • regex

        MetricDefinition.Builder regex​(String regex)

        A regular expression that searches the output of a training job and gets the value of the metric. For more information about using regular expressions to define metrics, see Defining metrics and environment variables.

        Parameters:
        regex - A regular expression that searches the output of a training job and gets the value of the metric. For more information about using regular expressions to define metrics, see Defining metrics and environment variables.
        Returns:
        Returns a reference to this object so that method calls can be chained together.