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

Implementations

Set the maximum number of iterations of the power method when algorithm=‘Nipals’. Ignored otherwise.

Set the tolerance used as convergence criteria in the power method: the algorithm stops whenever the squared norm of u_i - u_{i-1} is less than tol, where u corresponds to the left singular vector.

Set whether to scale the dataset

Set the algorithm used to estimate the first singular vectors of the cross-covariance matrix. Nipals uses the power method while Svd will compute the whole SVD.

Trait Implementations

The checked hyperparameters

Error type resulting from failed hyperparameter checking

Checks the hyperparameters and returns a reference to the checked hyperparameters if successful Read more

Checks the hyperparameters and returns the checked hyperparameters if successful

Calls check() and unwraps the result

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.