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 Summary
Modifier and TypeMethodDescriptionThe area under the curve.metricDataPoints
(Collection<MetricDataPoint> metricDataPoints) The data points details.metricDataPoints
(Consumer<MetricDataPoint.Builder>... metricDataPoints) The data points details.metricDataPoints
(MetricDataPoint... metricDataPoints) The data points details.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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
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
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
The data points details.
This is a convenience method that creates an instance of theMetricDataPoint.Builder
avoiding the need to create one manually viaMetricDataPoint.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tometricDataPoints(List<MetricDataPoint>)
.- Parameters:
metricDataPoints
- a consumer that will call methods onMetricDataPoint.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-