@Generated(value="software.amazon.awssdk:codegen") public final class Metrics extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Metrics.Builder,Metrics>
Provides metrics that are used to evaluate the performance of a predictor. This object is part of the WindowSummary object.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Metrics.Builder |
| Modifier and Type | Method and Description |
|---|---|
Double |
averageWeightedQuantileLoss()
The average value of all weighted quantile losses.
|
static Metrics.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<ErrorMetric> |
errorMetrics()
Provides detailed error metrics for each forecast type.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasErrorMetrics()
For responses, this returns true if the service returned a value for the ErrorMetrics property.
|
int |
hashCode() |
boolean |
hasWeightedQuantileLosses()
For responses, this returns true if the service returned a value for the WeightedQuantileLosses property.
|
Double |
rmse()
Deprecated.
This property is deprecated, please refer to ErrorMetrics for both RMSE and WAPE
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Metrics.Builder> |
serializableBuilderClass() |
Metrics.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
List<WeightedQuantileLoss> |
weightedQuantileLosses()
An array of weighted quantile losses.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopy@Deprecated public final Double rmse()
The root-mean-square error (RMSE).
public final boolean hasWeightedQuantileLosses()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.public final List<WeightedQuantileLoss> 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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasWeightedQuantileLosses() method.
public final boolean hasErrorMetrics()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<ErrorMetric> 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).
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasErrorMetrics() method.
public final Double averageWeightedQuantileLoss()
The average value of all weighted quantile losses.
public Metrics.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Metrics.Builder,Metrics>public static Metrics.Builder builder()
public static Class<? extends Metrics.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.