Skip to content

lazymatrix::NormalizationStats ​

LazyMatrix for Rust · 0.8.1

Source

rust
pub type NormalizationStats<F> = (Option<Vec<F>>, Option<Vec<F>>);

Computed column centers and raw scales, respectively.

An inactive normalization component is None. Present vectors have one entry per column. Raw scales may be zero; crate::LazyMatrix::new replaces exact zeros with one while preserving nonfinite values.

Released under the MIT and Apache 2.0 licenses.