@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 |
|---|---|
static Metrics.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<ErrorMetric> |
errorMetrics()
Provides detailed error metrics on forecast type, root-mean square-error (RMSE), and weighted average percentage
error (WAPE).
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasErrorMetrics()
Returns true if the ErrorMetrics property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasWeightedQuantileLosses()
Returns true if the WeightedQuantileLosses property was specified by the sender (it may be empty), or false if
the sender did not specify the value (it will be empty).
|
Double |
rmse()
The root-mean-square error (RMSE).
|
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, waitcopypublic final Double rmse()
The root-mean-square error (RMSE).
public final boolean hasWeightedQuantileLosses()
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.
You can use hasWeightedQuantileLosses() to see if a value was sent in this field.
public final boolean hasErrorMetrics()
public final List<ErrorMetric> errorMetrics()
Provides detailed error metrics on forecast type, root-mean square-error (RMSE), and weighted average percentage error (WAPE).
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasErrorMetrics() to see if a value was sent in this field.
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 © 2021. All rights reserved.