Struct augurs_mstl::FittedMSTLModel
source · pub struct FittedMSTLModel { /* private fields */ }
Expand description
A model that uses the MSTL to decompose a time series into trend, seasonal and remainder components, and then uses a trend model to forecast the trend component.
Implementations§
source§impl FittedMSTLModel
impl FittedMSTLModel
sourcepub fn fit(&self) -> &MstlResult
pub fn fit(&self) -> &MstlResult
Return the MSTL fit of the training data.
Trait Implementations§
source§impl Debug for FittedMSTLModel
impl Debug for FittedMSTLModel
source§impl Predict for FittedMSTLModel
impl Predict for FittedMSTLModel
source§fn predict_inplace(
&self,
horizon: usize,
level: Option<f64>,
forecast: &mut Forecast,
) -> Result<(), Error>
fn predict_inplace( &self, horizon: usize, level: Option<f64>, forecast: &mut Forecast, ) -> Result<(), Error>
source§fn predict_in_sample_inplace(
&self,
level: Option<f64>,
forecast: &mut Forecast,
) -> Result<(), Error>
fn predict_in_sample_inplace( &self, level: Option<f64>, forecast: &mut Forecast, ) -> Result<(), Error>
source§fn training_data_size(&self) -> usize
fn training_data_size(&self) -> usize
Return the number of training data points used to fit the model. Read more
Auto Trait Implementations§
impl Freeze for FittedMSTLModel
impl !RefUnwindSafe for FittedMSTLModel
impl Send for FittedMSTLModel
impl Sync for FittedMSTLModel
impl Unpin for FittedMSTLModel
impl !UnwindSafe for FittedMSTLModel
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