pub struct BocpdPolicyConfig {
pub mu_steady_ms: f64,
pub mu_burst_ms: f64,
pub hazard_lambda: f64,
pub max_run_length: usize,
pub steady_threshold: f64,
pub burst_threshold: f64,
pub burst_prior: f64,
pub min_observation_ms: f64,
pub max_observation_ms: f64,
pub enable_logging: bool,
}Expand description
BOCPD changepoint detection policy parameters.
Fields§
§mu_steady_ms: f64Expected inter-event time during steady regime (ms). Default: 200.
mu_burst_ms: f64Expected inter-event time during burst regime (ms). Default: 20.
hazard_lambda: f64Hazard rate (1/expected run length). Default: 50.
max_run_length: usizeMaximum run length tracked. Default: 100.
steady_threshold: f64Posterior threshold for steady regime. Default: 0.3.
burst_threshold: f64Posterior threshold for burst regime. Default: 0.7.
burst_prior: f64Prior probability of burst regime. Default: 0.2.
min_observation_ms: f64Minimum observation value (ms). Default: 1.0.
max_observation_ms: f64Maximum observation value (ms). Default: 10 000.
enable_logging: boolEnable debug logging. Default: false.
Trait Implementations§
Source§impl Clone for BocpdPolicyConfig
impl Clone for BocpdPolicyConfig
Source§fn clone(&self) -> BocpdPolicyConfig
fn clone(&self) -> BocpdPolicyConfig
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 moreSource§impl Debug for BocpdPolicyConfig
impl Debug for BocpdPolicyConfig
Auto Trait Implementations§
impl Freeze for BocpdPolicyConfig
impl RefUnwindSafe for BocpdPolicyConfig
impl Send for BocpdPolicyConfig
impl Sync for BocpdPolicyConfig
impl Unpin for BocpdPolicyConfig
impl UnsafeUnpin for BocpdPolicyConfig
impl UnwindSafe for BocpdPolicyConfig
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