@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EvaluationParameters extends Object implements Serializable, Cloneable, StructuredPojo
Parameters that define how to split a dataset into training data and testing data, and the number of iterations to perform. These parameters are specified in the predefined algorithms and can be overridden in the CreatePredictor request.
For example, suppose that you have a dataset with data collection frequency set to every day and you have 200 days
worth of data (that is, 200 data points). Now suppose that you set the NumberOfBacktestWindows to 2 and
the BackTestWindowOffset parameter to 20. The algorithm splits the data twice. The first time, the
algorithm trains the model using the first 180 data points and uses the last 20 data points for evaluation. The
second time, the algorithm trains the model using the first 160 data points and uses the last 40 data points for
evaluation.
| Constructor and Description |
|---|
EvaluationParameters() |
| Modifier and Type | Method and Description |
|---|---|
EvaluationParameters |
clone() |
boolean |
equals(Object obj) |
Integer |
getBackTestWindowOffset()
The point from the end of the dataset where you want to split the data for model training and evaluation.
|
Integer |
getNumberOfBacktestWindows()
The number of times to split the input data.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setBackTestWindowOffset(Integer backTestWindowOffset)
The point from the end of the dataset where you want to split the data for model training and evaluation.
|
void |
setNumberOfBacktestWindows(Integer numberOfBacktestWindows)
The number of times to split the input data.
|
String |
toString()
Returns a string representation of this object.
|
EvaluationParameters |
withBackTestWindowOffset(Integer backTestWindowOffset)
The point from the end of the dataset where you want to split the data for model training and evaluation.
|
EvaluationParameters |
withNumberOfBacktestWindows(Integer numberOfBacktestWindows)
The number of times to split the input data.
|
public void setNumberOfBacktestWindows(Integer numberOfBacktestWindows)
The number of times to split the input data. The default is 1. The range is 1 through 5.
numberOfBacktestWindows - The number of times to split the input data. The default is 1. The range is 1 through 5.public Integer getNumberOfBacktestWindows()
The number of times to split the input data. The default is 1. The range is 1 through 5.
public EvaluationParameters withNumberOfBacktestWindows(Integer numberOfBacktestWindows)
The number of times to split the input data. The default is 1. The range is 1 through 5.
numberOfBacktestWindows - The number of times to split the input data. The default is 1. The range is 1 through 5.public void setBackTestWindowOffset(Integer backTestWindowOffset)
The point from the end of the dataset where you want to split the data for model training and evaluation. The value is specified as the number of data points.
backTestWindowOffset - The point from the end of the dataset where you want to split the data for model training and evaluation.
The value is specified as the number of data points.public Integer getBackTestWindowOffset()
The point from the end of the dataset where you want to split the data for model training and evaluation. The value is specified as the number of data points.
public EvaluationParameters withBackTestWindowOffset(Integer backTestWindowOffset)
The point from the end of the dataset where you want to split the data for model training and evaluation. The value is specified as the number of data points.
backTestWindowOffset - The point from the end of the dataset where you want to split the data for model training and evaluation.
The value is specified as the number of data points.public String toString()
toString in class ObjectObject.toString()public EvaluationParameters clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.