[−][src]Trait smartcore::linalg::stats::MatrixStats
Defines baseline implementations for various statistical functions
Provided methods
pub fn mean(&self, axis: u8) -> Vec<T>
[src]
Computes the arithmetic mean along the specified axis.
pub fn var(&self, axis: u8) -> Vec<T>
[src]
Computes variance along the specified axis.
pub fn std(&self, axis: u8) -> Vec<T>
[src]
Computes the standard deviation along the specified axis.
pub fn scale_mut(&mut self, mean: &[T], std: &[T], axis: u8)
[src]
standardize values by removing the mean and scaling to unit variance