pub struct GaussianPrediction {
pub mu: f64,
pub sigma: f64,
pub log_sigma: f64,
pub honest_sigma: f64,
}Available on crate feature
alloc only.Expand description
Prediction from a distributional model: full Gaussian N(μ, σ²).
Fields§
§mu: f64Location parameter (mean).
sigma: f64Scale parameter (standard deviation, always > 0).
log_sigma: f64Log of scale parameter (raw model output for scale ensemble).
honest_sigma: f64Tree contribution variance (epistemic uncertainty).
Standard deviation of individual location-tree contributions, computed via one-pass Welford variance with Bessel’s correction. Reacts instantly when trees disagree (no EWMA lag), making it superior to empirical sigma for regime-change detection.
Zero when the model has 0 or 1 active location trees.
Implementations§
Trait Implementations§
Source§impl Clone for GaussianPrediction
impl Clone for GaussianPrediction
Source§fn clone(&self) -> GaussianPrediction
fn clone(&self) -> GaussianPrediction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GaussianPrediction
impl Debug for GaussianPrediction
impl Copy for GaussianPrediction
Auto Trait Implementations§
impl Freeze for GaussianPrediction
impl RefUnwindSafe for GaussianPrediction
impl Send for GaussianPrediction
impl Sync for GaussianPrediction
impl Unpin for GaussianPrediction
impl UnsafeUnpin for GaussianPrediction
impl UnwindSafe for GaussianPrediction
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more