Struct BayesianCPD
Source pub struct BayesianCPD { }
Expand description
Bayesian Online Change Point Detection core algorithm
Create a new Bayesian CPD detector
§Arguments
hazard_rate - Prior probability of change point (e.g., 0.1 = expect change every 10 runs)
Update with a new observation and return change point probability
§Arguments
value - New observation (e.g., current benchmark mean)
historical - Historical observations (e.g., previous benchmark means)
§Returns
Probability that a change point occurred (0.0 to 1.0)
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self).
That is, this conversion is whatever the implementation of
From<T> for U chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.