Struct linfa_pls::PlsCca [−][src]
pub struct PlsCca<F: Float>(_);Implementations
Singular vectors of the cross-covariance matrices
Projection matrices used to transform records and targets
The coefficients of the linear model such that Y is approximated as Y = X.coefficients
pub fn inverse_transform(
&self,
dataset: DatasetBase<ArrayBase<impl Data<Elem = F>, Ix2>, ArrayBase<impl Data<Elem = F>, Ix2>>
) -> DatasetBase<Array2<F>, Array2<F>>
pub fn inverse_transform(
&self,
dataset: DatasetBase<ArrayBase<impl Data<Elem = F>, Ix2>, ArrayBase<impl Data<Elem = F>, Ix2>>
) -> DatasetBase<Array2<F>, Array2<F>>
Transform the given dataset in the projected space back to the original space.
Trait Implementations
Given an input matrix X, with shape (n_samples, n_features),
predict returns the target variable according to [<Pls $name>] method
learned from the training data distribution.
Create targets that predict_inplace works with.
fn transform(
&self,
dataset: DatasetBase<ArrayBase<D, Ix2>, ArrayBase<D, Ix2>>
) -> DatasetBase<Array2<F>, Array2<F>>
fn transform(
&self,
dataset: DatasetBase<ArrayBase<D, Ix2>, ArrayBase<D, Ix2>>
) -> DatasetBase<Array2<F>, Array2<F>>
Apply dimension reduction to the given dataset
Auto Trait Implementations
impl<F> RefUnwindSafe for PlsCca<F> where
F: RefUnwindSafe,
impl<F> UnwindSafe for PlsCca<F> where
F: RefUnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more