pub struct GpdPrior {
pub shape_mean: f64,
pub shape_variance: f64,
pub log_scale_mean: f64,
pub log_scale_variance: f64,
}Expand description
Prior distribution for Bayesian GPD parameter estimation.
Fields§
§shape_mean: f64Prior mean for shape parameter.
shape_variance: f64Prior variance for shape parameter.
log_scale_mean: f64Prior mean for log(scale).
log_scale_variance: f64Prior variance for log(scale).
Implementations§
Source§impl GpdPrior
impl GpdPrior
Sourcepub fn heavy_tailed() -> Self
pub fn heavy_tailed() -> Self
Create a prior for heavy-tailed data (e.g., p99.9 latency).
Sourcepub fn light_tailed() -> Self
pub fn light_tailed() -> Self
Create a prior for light-tailed data (e.g., low-variance latency).
Trait Implementations§
impl Copy for GpdPrior
impl StructuralPartialEq for GpdPrior
Auto Trait Implementations§
impl Freeze for GpdPrior
impl RefUnwindSafe for GpdPrior
impl Send for GpdPrior
impl Sync for GpdPrior
impl Unpin for GpdPrior
impl UnsafeUnpin for GpdPrior
impl UnwindSafe for GpdPrior
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