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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TrainingMetrics.Builderauc(Float auc)The area under the curve.TrainingMetrics.BuildermetricDataPoints(Collection<MetricDataPoint> metricDataPoints)The data points details.TrainingMetrics.BuildermetricDataPoints(Consumer<MetricDataPoint.Builder>... metricDataPoints)The data points details.TrainingMetrics.BuildermetricDataPoints(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 Detail
-
auc
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.
- 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 theMetricDataPoint.Builderavoiding the need to create one manually viaMetricDataPoint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#metricDataPoints(List.) - 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:
#metricDataPoints(java.util.Collection)
-
-