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, sdkFields
copy
applyMutation, build
TrainingMetrics.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 that creates an instance of theList.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #metricDataPoints(List)
.metricDataPoints
- a consumer that will call methods on List.Builder
#metricDataPoints(List)
Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.