Struct augurs_mstl::NaiveTrend
source · pub struct NaiveTrend { /* private fields */ }
Expand description
A naive trend model that predicts the last value in the training set for all future time points.
Implementations§
source§impl NaiveTrend
impl NaiveTrend
Trait Implementations§
source§impl Clone for NaiveTrend
impl Clone for NaiveTrend
source§fn clone(&self) -> NaiveTrend
fn clone(&self) -> NaiveTrend
Returns a copy 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 moresource§impl Debug for NaiveTrend
impl Debug for NaiveTrend
source§impl TrendModel for NaiveTrend
impl TrendModel for NaiveTrend
source§fn fit(
&mut self,
y: &[f64]
) -> Result<(), Box<dyn Error + Send + Sync + 'static>>
fn fit( &mut self, y: &[f64] ) -> Result<(), Box<dyn Error + Send + Sync + 'static>>
Fit the model to the given time series. Read more
Auto Trait Implementations§
impl RefUnwindSafe for NaiveTrend
impl Send for NaiveTrend
impl Sync for NaiveTrend
impl Unpin for NaiveTrend
impl UnwindSafe for NaiveTrend
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