Struct rusoto_forecast::EvaluationParameters
source · [−]pub struct EvaluationParameters {
pub back_test_window_offset: Option<i64>,
pub number_of_backtest_windows: Option<i64>,
}
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.
Fields
back_test_window_offset: Option<i64>
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
number_of_backtest_windows: Option<i64>
The number of times to split the input data. The default is 1. Valid values are 1 through 5.
Trait Implementations
sourceimpl Clone for EvaluationParameters
impl Clone for EvaluationParameters
sourcefn clone(&self) -> EvaluationParameters
fn clone(&self) -> EvaluationParameters
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for EvaluationParameters
impl Debug for EvaluationParameters
sourceimpl Default for EvaluationParameters
impl Default for EvaluationParameters
sourcefn default() -> EvaluationParameters
fn default() -> EvaluationParameters
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for EvaluationParameters
impl<'de> Deserialize<'de> for EvaluationParameters
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<EvaluationParameters> for EvaluationParameters
impl PartialEq<EvaluationParameters> for EvaluationParameters
sourcefn eq(&self, other: &EvaluationParameters) -> bool
fn eq(&self, other: &EvaluationParameters) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &EvaluationParameters) -> bool
fn ne(&self, other: &EvaluationParameters) -> bool
This method tests for !=
.
sourceimpl Serialize for EvaluationParameters
impl Serialize for EvaluationParameters
impl StructuralPartialEq for EvaluationParameters
Auto Trait Implementations
impl RefUnwindSafe for EvaluationParameters
impl Send for EvaluationParameters
impl Sync for EvaluationParameters
impl Unpin for EvaluationParameters
impl UnwindSafe for EvaluationParameters
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more