Interface Metrics.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Metrics.Builder,,Metrics> SdkBuilder<Metrics.Builder,,Metrics> SdkPojo
- Enclosing class:
Metrics
-
Method Summary
Modifier and TypeMethodDescriptionaverageWeightedQuantileLoss(Double averageWeightedQuantileLoss) The average value of all weighted quantile losses.errorMetrics(Collection<ErrorMetric> errorMetrics) Provides detailed error metrics for each forecast type.errorMetrics(Consumer<ErrorMetric.Builder>... errorMetrics) Provides detailed error metrics for each forecast type.errorMetrics(ErrorMetric... errorMetrics) Provides detailed error metrics for each forecast type.Deprecated.This property is deprecated, please refer to ErrorMetrics for both RMSE and WAPEweightedQuantileLosses(Collection<WeightedQuantileLoss> weightedQuantileLosses) An array of weighted quantile losses.weightedQuantileLosses(Consumer<WeightedQuantileLoss.Builder>... weightedQuantileLosses) An array of weighted quantile losses.weightedQuantileLosses(WeightedQuantileLoss... weightedQuantileLosses) An array of weighted quantile losses.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
rmse
Deprecated.This property is deprecated, please refer to ErrorMetrics for both RMSE and WAPEThe root-mean-square error (RMSE).
- Parameters:
rmse- The root-mean-square error (RMSE).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
weightedQuantileLosses
An array of weighted quantile losses. Quantiles divide a probability distribution into regions of equal probability. The distribution in this case is the loss function.
- Parameters:
weightedQuantileLosses- An array of weighted quantile losses. Quantiles divide a probability distribution into regions of equal probability. The distribution in this case is the loss function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
weightedQuantileLosses
An array of weighted quantile losses. Quantiles divide a probability distribution into regions of equal probability. The distribution in this case is the loss function.
- Parameters:
weightedQuantileLosses- An array of weighted quantile losses. Quantiles divide a probability distribution into regions of equal probability. The distribution in this case is the loss function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
weightedQuantileLosses
Metrics.Builder weightedQuantileLosses(Consumer<WeightedQuantileLoss.Builder>... weightedQuantileLosses) An array of weighted quantile losses. Quantiles divide a probability distribution into regions of equal probability. The distribution in this case is the loss function.
This is a convenience method that creates an instance of theWeightedQuantileLoss.Builderavoiding the need to create one manually viaWeightedQuantileLoss.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toweightedQuantileLosses(List<WeightedQuantileLoss>).- Parameters:
weightedQuantileLosses- a consumer that will call methods onWeightedQuantileLoss.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorMetrics
Provides detailed error metrics for each forecast type. Metrics include root-mean square-error (RMSE), mean absolute percentage error (MAPE), mean absolute scaled error (MASE), and weighted average percentage error (WAPE).
- Parameters:
errorMetrics- Provides detailed error metrics for each forecast type. Metrics include root-mean square-error (RMSE), mean absolute percentage error (MAPE), mean absolute scaled error (MASE), and weighted average percentage error (WAPE).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorMetrics
Provides detailed error metrics for each forecast type. Metrics include root-mean square-error (RMSE), mean absolute percentage error (MAPE), mean absolute scaled error (MASE), and weighted average percentage error (WAPE).
- Parameters:
errorMetrics- Provides detailed error metrics for each forecast type. Metrics include root-mean square-error (RMSE), mean absolute percentage error (MAPE), mean absolute scaled error (MASE), and weighted average percentage error (WAPE).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorMetrics
Provides detailed error metrics for each forecast type. Metrics include root-mean square-error (RMSE), mean absolute percentage error (MAPE), mean absolute scaled error (MASE), and weighted average percentage error (WAPE).
This is a convenience method that creates an instance of theErrorMetric.Builderavoiding the need to create one manually viaErrorMetric.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrorMetrics(List<ErrorMetric>).- Parameters:
errorMetrics- a consumer that will call methods onErrorMetric.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
averageWeightedQuantileLoss
The average value of all weighted quantile losses.
- Parameters:
averageWeightedQuantileLoss- The average value of all weighted quantile losses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-