pub struct PeltResult {
pub changepoints: Vec<usize>,
}Expand description
Result of PELT changepoint detection.
Fields§
§changepoints: Vec<usize>Detected changepoint indices (0-based). Each index marks the first observation of a new segment.
For example, if changepoints = [50, 100], the segments are
[0..50), [50..100), [100..n).
Trait Implementations§
Source§impl Clone for PeltResult
impl Clone for PeltResult
Source§fn clone(&self) -> PeltResult
fn clone(&self) -> PeltResult
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for PeltResult
impl RefUnwindSafe for PeltResult
impl Send for PeltResult
impl Sync for PeltResult
impl Unpin for PeltResult
impl UnsafeUnpin for PeltResult
impl UnwindSafe for PeltResult
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