Struct petal_decomposition::PcaBuilder
source · [−]pub struct PcaBuilder { /* private fields */ }
Expand description
Implementations
sourceimpl PcaBuilder
impl PcaBuilder
sourcepub fn centering(self, centering: bool) -> Self
pub fn centering(self, centering: bool) -> Self
Indicates whether or not to perform mean-centering on input data. It is
enabled by default. If the inputs are already centered, set centering
to false
. Note Pca::mean()
will return an Array1
of 0’s if
centering
is false
.
Auto Trait Implementations
impl RefUnwindSafe for PcaBuilder
impl Send for PcaBuilder
impl Sync for PcaBuilder
impl Unpin for PcaBuilder
impl UnwindSafe for PcaBuilder
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