pub enum Penalty {
Bic,
Custom(f64),
}Expand description
Penalty selection for the PELT algorithm.
Variants§
Bic
BIC penalty: p * ln(n) where p = parameters per segment.
Reference: Schwarz (1978). Automatically scales with data length.
Custom(f64)
User-specified penalty value (must be positive and finite).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Penalty
impl RefUnwindSafe for Penalty
impl Send for Penalty
impl Sync for Penalty
impl Unpin for Penalty
impl UnsafeUnpin for Penalty
impl UnwindSafe for Penalty
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