pub struct PreprocessorConfig<T: Float + Send + Sync + 'static> {
pub scaling_method: ScalingMethod,
pub window_size: usize,
pub include_trend: bool,
pub include_seasonal: bool,
pub lag_features: Vec<usize>,
pub rolling_features: Option<RollingFeatureConfig>,
pub normalization: Option<NormalizationParams<T>>,
}Expand description
Configuration for input preprocessors
Fields§
§scaling_method: ScalingMethodScaling method
window_size: usizeWindow size for input
include_trend: boolWhether to include trend features
include_seasonal: boolWhether to include seasonal features
lag_features: Vec<usize>Lag features to include
rolling_features: Option<RollingFeatureConfig>Rolling window features
normalization: Option<NormalizationParams<T>>Normalization parameters
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for PreprocessorConfig<T>
impl<T> RefUnwindSafe for PreprocessorConfig<T>where
T: RefUnwindSafe,
impl<T> Send for PreprocessorConfig<T>
impl<T> Sync for PreprocessorConfig<T>
impl<T> Unpin for PreprocessorConfig<T>where
T: Unpin,
impl<T> UnwindSafe for PreprocessorConfig<T>where
T: UnwindSafe,
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
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
Converts
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>
Converts
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