Interface TrainingMetrics.Builder

All Superinterfaces:
Buildable, CopyableBuilder<TrainingMetrics.Builder,TrainingMetrics>, SdkBuilder<TrainingMetrics.Builder,TrainingMetrics>, SdkPojo
Enclosing class:
TrainingMetrics

public static interface TrainingMetrics.Builder extends SdkPojo, CopyableBuilder<TrainingMetrics.Builder,TrainingMetrics>
  • Method Details

    • auc

      The area under the curve. This summarizes true positive rate (TPR) and false positive rate (FPR) across all possible model score thresholds. A model with no predictive power has an AUC of 0.5, whereas a perfect model has a score of 1.0.

      Parameters:
      auc - The area under the curve. This summarizes true positive rate (TPR) and false positive rate (FPR) across all possible model score thresholds. A model with no predictive power has an AUC of 0.5, whereas a perfect model has a score of 1.0.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metricDataPoints

      TrainingMetrics.Builder metricDataPoints(Collection<MetricDataPoint> metricDataPoints)

      The data points details.

      Parameters:
      metricDataPoints - The data points details.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metricDataPoints

      TrainingMetrics.Builder metricDataPoints(MetricDataPoint... metricDataPoints)

      The data points details.

      Parameters:
      metricDataPoints - The data points details.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metricDataPoints

      TrainingMetrics.Builder metricDataPoints(Consumer<MetricDataPoint.Builder>... metricDataPoints)

      The data points details.

      This is a convenience method that creates an instance of the MetricDataPoint.Builder avoiding the need to create one manually via MetricDataPoint.builder() .

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to metricDataPoints(List<MetricDataPoint>).

      Parameters:
      metricDataPoints - a consumer that will call methods on MetricDataPoint.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: