[−][src]Trait changepoint::RunLengthDetector
Trait for run-length detectors
Required methods
fn step(&mut self, value: &T) -> &[f64]
Update the run-length detector and return a sequence of run length probabilities.
fn reset(&mut self)
Reset internal state, new run-lengths will refer to steps after this point.
fn votes_mean(&self) -> &[f64]
Get mean votes for change-points
fn votes_var(&self) -> &[f64]
Get vote variance for change-points
Implementors
impl<X, Fx, Pr> RunLengthDetector<X> for Bocpd<X, Fx, Pr> where
Fx: Rv<X> + HasSuffStat<X>,
Pr: ConjugatePrior<X, Fx>,
Fx::Stat: Clone,
[src]
Fx: Rv<X> + HasSuffStat<X>,
Pr: ConjugatePrior<X, Fx>,
Fx::Stat: Clone,
fn reset(&mut self)
[src]
fn step(&mut self, data: &X) -> &[f64]
[src]
Update the model with a new datum and return the distribution of run lengths.
fn votes_mean(&self) -> &[f64]
[src]
fn votes_var(&self) -> &[f64]
[src]
impl<X, Fx, Pr> RunLengthDetector<X> for BocpdTruncated<X, Fx, Pr> where
Fx: Rv<X> + HasSuffStat<X>,
Pr: ConjugatePrior<X, Fx>,
Fx::Stat: Clone,
[src]
Fx: Rv<X> + HasSuffStat<X>,
Pr: ConjugatePrior<X, Fx>,
Fx::Stat: Clone,