pub struct StlParams { /* private fields */ }
Implementations§
source§impl StlParams
impl StlParams
sourcepub fn seasonal_length(&mut self, length: usize) -> &mut Self
pub fn seasonal_length(&mut self, length: usize) -> &mut Self
Sets the length of the seasonal smoother.
sourcepub fn trend_length(&mut self, length: usize) -> &mut Self
pub fn trend_length(&mut self, length: usize) -> &mut Self
Sets the length of the trend smoother.
sourcepub fn low_pass_length(&mut self, length: usize) -> &mut Self
pub fn low_pass_length(&mut self, length: usize) -> &mut Self
Sets the length of the low-pass filter.
sourcepub fn seasonal_degree(&mut self, degree: i32) -> &mut Self
pub fn seasonal_degree(&mut self, degree: i32) -> &mut Self
Sets the degree of locally-fitted polynomial in seasonal smoothing.
sourcepub fn trend_degree(&mut self, degree: i32) -> &mut Self
pub fn trend_degree(&mut self, degree: i32) -> &mut Self
Sets the degree of locally-fitted polynomial in trend smoothing.
sourcepub fn low_pass_degree(&mut self, degree: i32) -> &mut Self
pub fn low_pass_degree(&mut self, degree: i32) -> &mut Self
Sets the degree of locally-fitted polynomial in low-pass smoothing.
sourcepub fn seasonal_jump(&mut self, jump: usize) -> &mut Self
pub fn seasonal_jump(&mut self, jump: usize) -> &mut Self
Sets the skipping value for seasonal smoothing.
sourcepub fn trend_jump(&mut self, jump: usize) -> &mut Self
pub fn trend_jump(&mut self, jump: usize) -> &mut Self
Sets the skipping value for trend smoothing.
sourcepub fn low_pass_jump(&mut self, jump: usize) -> &mut Self
pub fn low_pass_jump(&mut self, jump: usize) -> &mut Self
Sets the skipping value for low-pass smoothing.
sourcepub fn inner_loops(&mut self, loops: usize) -> &mut Self
pub fn inner_loops(&mut self, loops: usize) -> &mut Self
Sets the number of loops for updating the seasonal and trend components.
sourcepub fn outer_loops(&mut self, loops: usize) -> &mut Self
pub fn outer_loops(&mut self, loops: usize) -> &mut Self
Sets the number of iterations of robust fitting.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for StlParams
impl Send for StlParams
impl Sync for StlParams
impl Unpin for StlParams
impl UnwindSafe for StlParams
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