[][src]Struct goko::plugins::discrete::baseline::KLDivergenceBaselineStats

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 Debug for KLDivergenceBaselineStats[src]

impl Default for KLDivergenceBaselineStats[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> Cast<U> for T where
    U: FromCast<T>, 

impl<T> From<T> for T[src]

impl<T> FromCast<T> for T

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

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<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,