pub struct PlsRegression<F: Float>(_);

Implementations

Singular vectors of the cross-covariance matrices

Loadings of records and targets

Projection matrices used to transform records and targets

The coefficients of the linear model such that Y is approximated as Y = X.coefficients

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.

Apply dimension reduction to the given dataset

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.