pub struct NdarrayPCAResult<T: NabledReal> {
pub components: Array2<T>,
pub explained_variance: Array1<T>,
pub explained_variance_ratio: Array1<T>,
pub mean: Array1<T>,
pub scores: Array2<T>,
}Expand description
PCA result for ndarray matrices.
Fields§
§components: Array2<T>Principal components as rows (k x features).
explained_variance: Array1<T>Explained variance for each retained component.
explained_variance_ratio: Array1<T>Explained variance ratio for each retained component.
mean: Array1<T>Column means used for centering.
scores: Array2<T>Scores (samples x k).
Trait Implementations§
Source§impl<T: Clone + NabledReal> Clone for NdarrayPCAResult<T>
impl<T: Clone + NabledReal> Clone for NdarrayPCAResult<T>
Source§fn clone(&self) -> NdarrayPCAResult<T>
fn clone(&self) -> NdarrayPCAResult<T>
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<T> Freeze for NdarrayPCAResult<T>
impl<T> RefUnwindSafe for NdarrayPCAResult<T>where
T: RefUnwindSafe,
impl<T> Send for NdarrayPCAResult<T>
impl<T> Sync for NdarrayPCAResult<T>
impl<T> Unpin for NdarrayPCAResult<T>
impl<T> UnsafeUnpin for NdarrayPCAResult<T>
impl<T> UnwindSafe for NdarrayPCAResult<T>where
T: RefUnwindSafe,
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