Class ErrorMetric
- java.lang.Object
-
- software.amazon.awssdk.services.forecast.model.ErrorMetric
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ErrorMetric.Builder,ErrorMetric>
@Generated("software.amazon.awssdk:codegen") public final class ErrorMetric extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ErrorMetric.Builder,ErrorMetric>
Provides detailed error metrics to evaluate the performance of a predictor. This object is part of the Metrics object.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceErrorMetric.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ErrorMetric.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringforecastType()The Forecast type used to compute WAPE, MAPE, MASE, and RMSE.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Doublemape()The Mean Absolute Percentage Error (MAPE)Doublemase()The Mean Absolute Scaled Error (MASE)Doublermse()The root-mean-square error (RMSE).Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ErrorMetric.Builder>serializableBuilderClass()ErrorMetric.BuildertoBuilder()StringtoString()Returns a string representation of this object.Doublewape()The weighted absolute percentage error (WAPE).-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
forecastType
public final String forecastType()
The Forecast type used to compute WAPE, MAPE, MASE, and RMSE.
- Returns:
- The Forecast type used to compute WAPE, MAPE, MASE, and RMSE.
-
wape
public final Double wape()
The weighted absolute percentage error (WAPE).
- Returns:
- The weighted absolute percentage error (WAPE).
-
rmse
public final Double rmse()
The root-mean-square error (RMSE).
- Returns:
- The root-mean-square error (RMSE).
-
mase
public final Double mase()
The Mean Absolute Scaled Error (MASE)
- Returns:
- The Mean Absolute Scaled Error (MASE)
-
mape
public final Double mape()
The Mean Absolute Percentage Error (MAPE)
- Returns:
- The Mean Absolute Percentage Error (MAPE)
-
toBuilder
public ErrorMetric.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ErrorMetric.Builder,ErrorMetric>
-
builder
public static ErrorMetric.Builder builder()
-
serializableBuilderClass
public static Class<? extends ErrorMetric.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-