pub struct ResidualIntervalConfig {
pub k: f64,
pub alpha: f64,
}Expand description
Configuration for ResidualInterval.
Fields§
§k: f64Multiplier applied to the recent error when forming the interval.
Must be strictly positive. Larger values produce wider, more
conservative intervals. Defaults to 1.0.
alpha: f64Alpha for the exponentially weighted mean of absolute errors.
Must be in (0, 1]. Smaller values give a longer memory.
Defaults to 0.1.
Trait Implementations§
Source§impl Clone for ResidualIntervalConfig
impl Clone for ResidualIntervalConfig
Source§fn clone(&self) -> ResidualIntervalConfig
fn clone(&self) -> ResidualIntervalConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ResidualIntervalConfig
impl Debug for ResidualIntervalConfig
Auto Trait Implementations§
impl Freeze for ResidualIntervalConfig
impl RefUnwindSafe for ResidualIntervalConfig
impl Send for ResidualIntervalConfig
impl Sync for ResidualIntervalConfig
impl Unpin for ResidualIntervalConfig
impl UnsafeUnpin for ResidualIntervalConfig
impl UnwindSafe for ResidualIntervalConfig
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