#[non_exhaustive]pub struct EvaluationParametersBuilder { /* private fields */ }
Expand description
A builder for EvaluationParameters
.
Implementations§
source§impl EvaluationParametersBuilder
impl EvaluationParametersBuilder
sourcepub fn number_of_backtest_windows(self, input: i32) -> Self
pub fn number_of_backtest_windows(self, input: i32) -> Self
The number of times to split the input data. The default is 1. Valid values are 1 through 5.
sourcepub fn set_number_of_backtest_windows(self, input: Option<i32>) -> Self
pub fn set_number_of_backtest_windows(self, input: Option<i32>) -> Self
The number of times to split the input data. The default is 1. Valid values are 1 through 5.
sourcepub fn get_number_of_backtest_windows(&self) -> &Option<i32>
pub fn get_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, input: i32) -> Self
pub fn back_test_window_offset(self, input: i32) -> Self
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
sourcepub fn set_back_test_window_offset(self, input: Option<i32>) -> Self
pub fn set_back_test_window_offset(self, input: Option<i32>) -> Self
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
sourcepub fn get_back_test_window_offset(&self) -> &Option<i32>
pub fn get_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
sourcepub fn build(self) -> EvaluationParameters
pub fn build(self) -> EvaluationParameters
Consumes the builder and constructs a EvaluationParameters
.
Trait Implementations§
source§impl Clone for EvaluationParametersBuilder
impl Clone for EvaluationParametersBuilder
source§fn clone(&self) -> EvaluationParametersBuilder
fn clone(&self) -> EvaluationParametersBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EvaluationParametersBuilder
impl Debug for EvaluationParametersBuilder
source§impl Default for EvaluationParametersBuilder
impl Default for EvaluationParametersBuilder
source§fn default() -> EvaluationParametersBuilder
fn default() -> EvaluationParametersBuilder
source§impl PartialEq for EvaluationParametersBuilder
impl PartialEq for EvaluationParametersBuilder
source§fn eq(&self, other: &EvaluationParametersBuilder) -> bool
fn eq(&self, other: &EvaluationParametersBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EvaluationParametersBuilder
Auto Trait Implementations§
impl Freeze for EvaluationParametersBuilder
impl RefUnwindSafe for EvaluationParametersBuilder
impl Send for EvaluationParametersBuilder
impl Sync for EvaluationParametersBuilder
impl Unpin for EvaluationParametersBuilder
impl UnwindSafe for EvaluationParametersBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more