public static interface TrainingMetrics.Builder extends SdkPojo, CopyableBuilder<TrainingMetrics.Builder,TrainingMetrics>
| Modifier and Type | Method and Description |
|---|---|
TrainingMetrics.Builder |
auc(Float auc)
The area under the curve.
|
TrainingMetrics.Builder |
metricDataPoints(Collection<MetricDataPoint> metricDataPoints)
The data points details.
|
TrainingMetrics.Builder |
metricDataPoints(Consumer<MetricDataPoint.Builder>... metricDataPoints)
The data points details.
|
TrainingMetrics.Builder |
metricDataPoints(MetricDataPoint... metricDataPoints)
The data points details.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildTrainingMetrics.Builder auc(Float 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.
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.TrainingMetrics.Builder metricDataPoints(Collection<MetricDataPoint> metricDataPoints)
The data points details.
metricDataPoints - The data points details.TrainingMetrics.Builder metricDataPoints(MetricDataPoint... metricDataPoints)
The data points details.
metricDataPoints - The data points details.TrainingMetrics.Builder metricDataPoints(Consumer<MetricDataPoint.Builder>... metricDataPoints)
The data points details.
This is a convenience method that creates an instance of theMetricDataPoint.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.
metricDataPoints - a consumer that will call methods on
MetricDataPoint.Builder#metricDataPoints(java.util.Collection) Copyright © 2022. All rights reserved.