Struct aws_sdk_forecast::model::EvaluationParameters
source · #[non_exhaustive]pub struct EvaluationParameters { /* private fields */ }Expand description
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 but you can override them in the CreatePredictor request.
Implementations§
source§impl EvaluationParameters
impl EvaluationParameters
sourcepub fn number_of_backtest_windows(&self) -> Option<i32>
pub fn number_of_backtest_windows(&self) -> Option<i32>
The number of times to split the input data. The default is 1. Valid values are 1 through 5.
sourcepub fn back_test_window_offset(&self) -> Option<i32>
pub fn back_test_window_offset(&self) -> Option<i32>
The point from the end of the dataset where you want to split the data for model training and testing (evaluation). Specify the value as the number of data points. The default is the value of the forecast horizon. BackTestWindowOffset can be used to mimic a past virtual forecast start date. This value must be greater than or equal to the forecast horizon and less than half of the TARGET_TIME_SERIES dataset length.
ForecastHorizon <= BackTestWindowOffset < 1/2 * TARGET_TIME_SERIES dataset length
source§impl EvaluationParameters
impl EvaluationParameters
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture EvaluationParameters.
Trait Implementations§
source§impl Clone for EvaluationParameters
impl Clone for EvaluationParameters
source§fn clone(&self) -> EvaluationParameters
fn clone(&self) -> EvaluationParameters
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for EvaluationParameters
impl Debug for EvaluationParameters
source§impl PartialEq<EvaluationParameters> for EvaluationParameters
impl PartialEq<EvaluationParameters> for EvaluationParameters
source§fn eq(&self, other: &EvaluationParameters) -> bool
fn eq(&self, other: &EvaluationParameters) -> bool
self and other values to be equal, and is used
by ==.