pub struct RandomizedPcaResult<F> {
pub components: Array2<F>,
pub explained_variance: Array1<F>,
pub explained_variance_ratio: Array1<F>,
pub singular_values: Array1<F>,
pub mean: Array1<F>,
}Expand description
Result of randomized PCA
Fields§
§components: Array2<F>Principal components (n_components x n_features)
explained_variance: Array1<F>Explained variance for each component
explained_variance_ratio: Array1<F>Fraction of total variance explained
singular_values: Array1<F>Singular values
mean: Array1<F>Mean of each feature (used for centering)
Trait Implementations§
Source§impl<F: Clone> Clone for RandomizedPcaResult<F>
impl<F: Clone> Clone for RandomizedPcaResult<F>
Source§fn clone(&self) -> RandomizedPcaResult<F>
fn clone(&self) -> RandomizedPcaResult<F>
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<F> Freeze for RandomizedPcaResult<F>
impl<F> RefUnwindSafe for RandomizedPcaResult<F>where
F: RefUnwindSafe,
impl<F> Send for RandomizedPcaResult<F>where
F: Send,
impl<F> Sync for RandomizedPcaResult<F>where
F: Sync,
impl<F> Unpin for RandomizedPcaResult<F>
impl<F> UnsafeUnpin for RandomizedPcaResult<F>
impl<F> UnwindSafe for RandomizedPcaResult<F>where
F: 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more