pub struct WarmupConfig {
pub warming_up_threshold: u64,
pub usable_threshold: u64,
pub stable_threshold: u64,
pub degraded_error_ratio: f64,
}Expand description
Configuration for WarmupTracker.
Fields§
§warming_up_threshold: u64Number of samples below which the model is considered WarmupState::WarmingUp.
usable_threshold: u64Number of samples at which the model transitions from warming up to
WarmupState::Usable (when no error comparison applies).
stable_threshold: u64Number of samples required (along with beating the baseline) for
WarmupState::Stable.
degraded_error_ratio: f64Ratio by which the recent error may exceed the baseline before the
model is considered WarmupState::Degraded.
Trait Implementations§
Source§impl Clone for WarmupConfig
impl Clone for WarmupConfig
Source§fn clone(&self) -> WarmupConfig
fn clone(&self) -> WarmupConfig
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 WarmupConfig
impl Debug for WarmupConfig
Auto Trait Implementations§
impl Freeze for WarmupConfig
impl RefUnwindSafe for WarmupConfig
impl Send for WarmupConfig
impl Sync for WarmupConfig
impl Unpin for WarmupConfig
impl UnsafeUnpin for WarmupConfig
impl UnwindSafe for WarmupConfig
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