Enum linfa_reduction::error::Error [−][src]
pub enum Error {
NotEnoughSamples,
LinalgError(LinalgError),
LinfaError(Error),
}Variants
LinalgError(LinalgError)LinfaError(Error)Trait Implementations
impl<T, D: Data<Elem = f64>> Fit<ArrayBase<D, Dim<[usize; 2]>>, T, Error> for PcaParams[src]
impl<T, D: Data<Elem = f64>> Fit<ArrayBase<D, Dim<[usize; 2]>>, T, Error> for PcaParams[src]Fit a PCA model given a dataset
The Principal Component Analysis takes the records of a dataset and tries to find the best fit in a lower dimensional space such that the maximal variance is retained.
Parameters
dataset: A dataset with records in N dimensions
Returns
A fitted PCA model with origin and hyperplane
impl From<LinalgError> for Error[src]
impl From<LinalgError> for Error[src]fn from(source: LinalgError) -> Self[src]
Auto Trait Implementations
impl RefUnwindSafe for Error
impl RefUnwindSafe for Errorimpl UnwindSafe for Error
impl UnwindSafe for Error