pub struct EstimationConfig {
pub max_order: u32,
pub order_selection: OrderSelectionMethod,
pub min_observations_per_season: u32,
pub max_coefficient_magnitude: Option<f64>,
}Expand description
Time series estimation settings (config.json → estimation).
Controls automatic parameter estimation when historical inflow data is provided without explicit model statistics or coefficients.
Fields§
§max_order: u32Maximum lag order considered during autoregressive model fitting.
order_selection: OrderSelectionMethodOrder selection criterion. Accepts "pacf" (classical PACF, default)
or "pacf_annual" (PACF augmented with an annual component, PAR(p)-A).
min_observations_per_season: u32Minimum number of observations required per (entity, season) group to proceed with estimation. Groups below this threshold are skipped.
max_coefficient_magnitude: Option<f64>Maximum allowed absolute magnitude for any AR coefficient.
When set, any (entity, season) pair with |coefficient| > threshold
is immediately reduced to order 0 before the contribution analysis
runs. This acts as a fast-path safety net for the most extreme
explosive models. Defaults to None (disabled; contribution analysis
is the primary guard).
Trait Implementations§
Source§impl Clone for EstimationConfig
impl Clone for EstimationConfig
Source§fn clone(&self) -> EstimationConfig
fn clone(&self) -> EstimationConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for EstimationConfig
impl Debug for EstimationConfig
Source§impl Default for EstimationConfig
impl Default for EstimationConfig
Source§impl<'de> Deserialize<'de> for EstimationConfigwhere
EstimationConfig: Default,
impl<'de> Deserialize<'de> for EstimationConfigwhere
EstimationConfig: Default,
Source§fn 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>,
Auto Trait Implementations§
impl Freeze for EstimationConfig
impl RefUnwindSafe for EstimationConfig
impl Send for EstimationConfig
impl Sync for EstimationConfig
impl Unpin for EstimationConfig
impl UnsafeUnpin for EstimationConfig
impl UnwindSafe for EstimationConfig
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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