pub struct ColumnEntropy {
pub name: String,
pub shannon_entropy: f64,
pub lsb_entropy: f64,
pub ks_pvalue: f64,
pub chi_square_pvalue: f64,
pub autocorrelation_256: f64,
}Expand description
Entropy analysis results for a column
Fields§
§name: StringColumn name
shannon_entropy: f64Shannon entropy of values (bits)
lsb_entropy: f64Shannon entropy of LSB bits only
ks_pvalue: f64Kolmogorov-Smirnov test p-value against uniform
chi_square_pvalue: f64Chi-square test result for LSB uniformity
autocorrelation_256: f64Autocorrelation at lag 256 (watermark period)
Trait Implementations§
Source§impl Clone for ColumnEntropy
impl Clone for ColumnEntropy
Source§fn clone(&self) -> ColumnEntropy
fn clone(&self) -> ColumnEntropy
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ColumnEntropy
impl RefUnwindSafe for ColumnEntropy
impl Send for ColumnEntropy
impl Sync for ColumnEntropy
impl Unpin for ColumnEntropy
impl UnsafeUnpin for ColumnEntropy
impl UnwindSafe for ColumnEntropy
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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 moreCreates a shared type from an unshared type.