pub struct PeltConfig {
pub penalty: Option<f64>,
pub min_segment_len: usize,
}Expand description
PELT configuration.
Fields§
§penalty: Option<f64>Penalty per change point. If None, uses BIC: dim * ln(n) / 2.
min_segment_len: usizeMinimum segment length (avoids overfitting on short runs).
Trait Implementations§
Source§impl Clone for PeltConfig
impl Clone for PeltConfig
Source§fn clone(&self) -> PeltConfig
fn clone(&self) -> PeltConfig
Returns a copy of the value. Read more
1.0.0 · 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 PeltConfig
impl Debug for PeltConfig
Auto Trait Implementations§
impl Freeze for PeltConfig
impl RefUnwindSafe for PeltConfig
impl Send for PeltConfig
impl Sync for PeltConfig
impl Unpin for PeltConfig
impl UnwindSafe for PeltConfig
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