pub struct PostprocessorConfig {
pub horizon: usize,
pub denormalize: bool,
pub confidence_intervals: Option<Vec<f64>>,
pub trend_adjustment: bool,
pub seasonal_adjustment: Option<SeasonalAdjustmentConfig>,
}Expand description
Configuration for output postprocessors
Fields§
§horizon: usizeForecast horizon
denormalize: boolWhether to denormalize outputs
confidence_intervals: Option<Vec<f64>>Confidence interval settings
trend_adjustment: boolWhether to apply trend adjustment
seasonal_adjustment: Option<SeasonalAdjustmentConfig>Seasonal adjustment settings
Trait Implementations§
Source§impl Clone for PostprocessorConfig
impl Clone for PostprocessorConfig
Source§fn clone(&self) -> PostprocessorConfig
fn clone(&self) -> PostprocessorConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PostprocessorConfig
impl RefUnwindSafe for PostprocessorConfig
impl Send for PostprocessorConfig
impl Sync for PostprocessorConfig
impl Unpin for PostprocessorConfig
impl UnwindSafe for PostprocessorConfig
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