pub struct ExtrapolationConfig<T: Float> {
pub parameters: ExtrapolationParameters<T>,
pub confidence_config: Option<ConfidenceExtrapolationConfig<T>>,
pub ensemble_config: Option<EnsembleExtrapolationConfig<T>>,
pub adaptive_config: Option<AdaptiveExtrapolationConfig>,
pub ar_config: Option<AutoregressiveExtrapolationConfig<T>>,
pub custom_parameters: HashMap<String, T>,
}
Expand description
Complete extrapolation configuration
Fields§
§parameters: ExtrapolationParameters<T>
Base parameters
confidence_config: Option<ConfidenceExtrapolationConfig<T>>
Confidence configuration
ensemble_config: Option<EnsembleExtrapolationConfig<T>>
Ensemble configuration
adaptive_config: Option<AdaptiveExtrapolationConfig>
Adaptive configuration
ar_config: Option<AutoregressiveExtrapolationConfig<T>>
Autoregressive configuration
custom_parameters: HashMap<String, T>
Custom method-specific parameters
Implementations§
Source§impl<T: Float> ExtrapolationConfig<T>
impl<T: Float> ExtrapolationConfig<T>
Sourcepub fn builder() -> ExtrapolationConfigBuilder<T>
pub fn builder() -> ExtrapolationConfigBuilder<T>
Create a configuration builder
Sourcepub fn has_confidence(&self) -> bool
pub fn has_confidence(&self) -> bool
Check if confidence estimation is enabled
Sourcepub fn has_ensemble(&self) -> bool
pub fn has_ensemble(&self) -> bool
Check if ensemble methods are enabled
Sourcepub fn has_adaptive(&self) -> bool
pub fn has_adaptive(&self) -> bool
Check if adaptive selection is enabled
Sourcepub fn has_autoregressive(&self) -> bool
pub fn has_autoregressive(&self) -> bool
Check if autoregressive modeling is enabled
Sourcepub fn get_custom_parameter(&self, name: &str) -> Option<&T>
pub fn get_custom_parameter(&self, name: &str) -> Option<&T>
Get custom parameter value
Trait Implementations§
Source§impl<T: Clone + Float> Clone for ExtrapolationConfig<T>
impl<T: Clone + Float> Clone for ExtrapolationConfig<T>
Source§fn clone(&self) -> ExtrapolationConfig<T>
fn clone(&self) -> ExtrapolationConfig<T>
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<T> Freeze for ExtrapolationConfig<T>where
T: Freeze,
impl<T> RefUnwindSafe for ExtrapolationConfig<T>where
T: RefUnwindSafe,
impl<T> Send for ExtrapolationConfig<T>where
T: Send,
impl<T> Sync for ExtrapolationConfig<T>where
T: Sync,
impl<T> Unpin for ExtrapolationConfig<T>where
T: Unpin,
impl<T> UnwindSafe for ExtrapolationConfig<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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.