@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ErrorMetric extends Object implements Serializable, Cloneable, StructuredPojo
Provides detailed error metrics to evaluate the performance of a predictor. This object is part of the Metrics object.
Constructor and Description |
---|
ErrorMetric() |
Modifier and Type | Method and Description |
---|---|
ErrorMetric |
clone() |
boolean |
equals(Object obj) |
String |
getForecastType()
The Forecast type used to compute WAPE, MAPE, MASE, and RMSE.
|
Double |
getMAPE()
The Mean Absolute Percentage Error (MAPE)
|
Double |
getMASE()
The Mean Absolute Scaled Error (MASE)
|
Double |
getRMSE()
The root-mean-square error (RMSE).
|
Double |
getWAPE()
The weighted absolute percentage error (WAPE).
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setForecastType(String forecastType)
The Forecast type used to compute WAPE, MAPE, MASE, and RMSE.
|
void |
setMAPE(Double mAPE)
The Mean Absolute Percentage Error (MAPE)
|
void |
setMASE(Double mASE)
The Mean Absolute Scaled Error (MASE)
|
void |
setRMSE(Double rMSE)
The root-mean-square error (RMSE).
|
void |
setWAPE(Double wAPE)
The weighted absolute percentage error (WAPE).
|
String |
toString()
Returns a string representation of this object.
|
ErrorMetric |
withForecastType(String forecastType)
The Forecast type used to compute WAPE, MAPE, MASE, and RMSE.
|
ErrorMetric |
withMAPE(Double mAPE)
The Mean Absolute Percentage Error (MAPE)
|
ErrorMetric |
withMASE(Double mASE)
The Mean Absolute Scaled Error (MASE)
|
ErrorMetric |
withRMSE(Double rMSE)
The root-mean-square error (RMSE).
|
ErrorMetric |
withWAPE(Double wAPE)
The weighted absolute percentage error (WAPE).
|
public void setForecastType(String forecastType)
The Forecast type used to compute WAPE, MAPE, MASE, and RMSE.
forecastType
- The Forecast type used to compute WAPE, MAPE, MASE, and RMSE.public String getForecastType()
The Forecast type used to compute WAPE, MAPE, MASE, and RMSE.
public ErrorMetric withForecastType(String forecastType)
The Forecast type used to compute WAPE, MAPE, MASE, and RMSE.
forecastType
- The Forecast type used to compute WAPE, MAPE, MASE, and RMSE.public void setWAPE(Double wAPE)
The weighted absolute percentage error (WAPE).
wAPE
- The weighted absolute percentage error (WAPE).public Double getWAPE()
The weighted absolute percentage error (WAPE).
public ErrorMetric withWAPE(Double wAPE)
The weighted absolute percentage error (WAPE).
wAPE
- The weighted absolute percentage error (WAPE).public void setRMSE(Double rMSE)
The root-mean-square error (RMSE).
rMSE
- The root-mean-square error (RMSE).public Double getRMSE()
The root-mean-square error (RMSE).
public ErrorMetric withRMSE(Double rMSE)
The root-mean-square error (RMSE).
rMSE
- The root-mean-square error (RMSE).public void setMASE(Double mASE)
The Mean Absolute Scaled Error (MASE)
mASE
- The Mean Absolute Scaled Error (MASE)public Double getMASE()
The Mean Absolute Scaled Error (MASE)
public ErrorMetric withMASE(Double mASE)
The Mean Absolute Scaled Error (MASE)
mASE
- The Mean Absolute Scaled Error (MASE)public void setMAPE(Double mAPE)
The Mean Absolute Percentage Error (MAPE)
mAPE
- The Mean Absolute Percentage Error (MAPE)public Double getMAPE()
The Mean Absolute Percentage Error (MAPE)
public ErrorMetric withMAPE(Double mAPE)
The Mean Absolute Percentage Error (MAPE)
mAPE
- The Mean Absolute Percentage Error (MAPE)public String toString()
toString
in class Object
Object.toString()
public ErrorMetric clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.