NormalInvGammaDetector

Type Alias NormalInvGammaDetector 

Source
pub type NormalInvGammaDetector = BocpdDetector<Gaussian, NormalInvGamma>;
Expand description

A BocpdDetector for Normal data with a Normal inverse-Gamma prior.

Aliased Type§

pub struct NormalInvGammaDetector { /* private fields */ }

Implementations§

Source§

impl NormalInvGammaDetector

Source

pub fn normal_inv_gamma(hazard_lambda: f64, prior: NormalInvGamma) -> Self

Create a detector for Normal data using the given hazard_lambda and prior.

Trait Implementations§

Source§

impl Default for NormalInvGammaDetector

Source§

fn default() -> Self

Returns the “default value” for a type. Read more