pub struct Pelt {
pub penalty_k: f64,
pub min_seg_len: usize,
}Fields§
§penalty_k: f64BIC penalty coefficient. The BIC default is β = k · ln(n) · σ²
with k = 1; we compute σ² from the input series’ variance so
the penalty adapts to scale.
min_seg_len: usizeMinimum segment length. Killick recommends ≥ 2; 5 damps noise for small series.
Trait Implementations§
Source§impl ChangePointDetector for Pelt
impl ChangePointDetector for Pelt
Auto Trait Implementations§
impl Freeze for Pelt
impl RefUnwindSafe for Pelt
impl Send for Pelt
impl Sync for Pelt
impl Unpin for Pelt
impl UnsafeUnpin for Pelt
impl UnwindSafe for Pelt
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