Struct goko::plugins::discrete::baseline::KLDivergenceBaselineStats [−][src]
pub struct KLDivergenceBaselineStats { pub max: (f64, f64), pub min: (f64, f64), pub nz_count: (f64, f64), pub moment1_nz: (f64, f64), pub moment2_nz: (f64, f64), }
Tracks the non-zero (all KL divergences above 1e-10)
Fields
max: (f64, f64)
The maximum non-zero KL divergence
min: (f64, f64)
The minimum non-zero KL divergence
nz_count: (f64, f64)
The number of nodes that have a non-zero divergence
moment1_nz: (f64, f64)
The first moment, use this with the nz_count
to get the mean
moment2_nz: (f64, f64)
The second moment, use this with the nz_count
and first moment to get the variance
Trait Implementations
impl Default for KLDivergenceBaselineStats
[src]
impl Default for KLDivergenceBaselineStats
[src]Auto Trait Implementations
impl RefUnwindSafe for KLDivergenceBaselineStats
impl RefUnwindSafe for KLDivergenceBaselineStats
impl Send for KLDivergenceBaselineStats
impl Send for KLDivergenceBaselineStats
impl Sync for KLDivergenceBaselineStats
impl Sync for KLDivergenceBaselineStats
impl Unpin for KLDivergenceBaselineStats
impl Unpin for KLDivergenceBaselineStats
impl UnwindSafe for KLDivergenceBaselineStats
impl UnwindSafe for KLDivergenceBaselineStats
Blanket Implementations
impl<T, U> Cast<U> for T where
U: FromCast<T>,
impl<T, U> Cast<U> for T where
U: FromCast<T>,
pub fn cast(self) -> U
impl<T> FromCast<T> for T
impl<T> FromCast<T> for T
pub fn from_cast(t: T) -> T
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
pub fn to_subset(&self) -> Option<SS>
pub fn is_in_subset(&self) -> bool
pub unsafe fn to_subset_unchecked(&self) -> SS
pub fn from_subset(element: &SS) -> SP
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,