Struct linfa_preprocessing::whitening::Whitener
source · [−]pub struct Whitener { /* private fields */ }Expand description
Struct that can be fitted to the input data to obtain the related whitening matrix. Fitting returns a FittedWhitener struct that can be used to apply the whitening transformation to the input data.
Implementations
Trait Implementations
sourceimpl<F: Float, D: Data<Elem = F>, T: AsTargets> Fit<ArrayBase<D, Dim<[usize; 2]>>, T, PreprocessingError> for Whitener
impl<F: Float, D: Data<Elem = F>, T: AsTargets> Fit<ArrayBase<D, Dim<[usize; 2]>>, T, PreprocessingError> for Whitener
type Object = FittedWhitener<F>
fn fit(&self, x: &DatasetBase<ArrayBase<D, Ix2>, T>) -> Result<Self::Object>
impl Eq for Whitener
impl StructuralEq for Whitener
impl StructuralPartialEq for Whitener
Auto Trait Implementations
impl RefUnwindSafe for Whitener
impl Send for Whitener
impl Sync for Whitener
impl Unpin for Whitener
impl UnwindSafe for Whitener
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key and return true if they are equal.