Interface EvaluationDatasetMetricConfig.Builder

    • Method Detail

      • metricNames

        EvaluationDatasetMetricConfig.Builder metricNames​(Collection<String> metricNames)

        The names of the metrics used. For automated model evaluation jobs valid values are "Builtin.Accuracy", "Builtin.Robustness", and "Builtin.Toxicity". In human-based model evaluation jobs the array of strings must match the name parameter specified in HumanEvaluationCustomMetric.

        Parameters:
        metricNames - The names of the metrics used. For automated model evaluation jobs valid values are "Builtin.Accuracy", "Builtin.Robustness", and "Builtin.Toxicity". In human-based model evaluation jobs the array of strings must match the name parameter specified in HumanEvaluationCustomMetric.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • metricNames

        EvaluationDatasetMetricConfig.Builder metricNames​(String... metricNames)

        The names of the metrics used. For automated model evaluation jobs valid values are "Builtin.Accuracy", "Builtin.Robustness", and "Builtin.Toxicity". In human-based model evaluation jobs the array of strings must match the name parameter specified in HumanEvaluationCustomMetric.

        Parameters:
        metricNames - The names of the metrics used. For automated model evaluation jobs valid values are "Builtin.Accuracy", "Builtin.Robustness", and "Builtin.Toxicity". In human-based model evaluation jobs the array of strings must match the name parameter specified in HumanEvaluationCustomMetric.
        Returns:
        Returns a reference to this object so that method calls can be chained together.