Struct linfa_pls::PlsCcaParams [−][src]
pub struct PlsCcaParams<F: Float>(_);
Implementations
impl<F: Float> PlsCcaParams<F>
[src]
impl<F: Float> PlsCcaParams<F>
[src]pub fn max_iterations(self, max_iter: usize) -> Self
[src]
Set the maximum number of iterations of the power method when algorithm=‘Nipals’. Ignored otherwise.
pub fn tolerance(self, tolerance: F) -> Self
[src]
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.
pub fn scale(self, scale: bool) -> Self
[src]
Set whether to scale the dataset
pub fn algorithm(self, algorithm: Algorithm) -> Self
[src]
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
Auto Trait Implementations
impl<F> RefUnwindSafe for PlsCcaParams<F> where
F: RefUnwindSafe,
impl<F> RefUnwindSafe for PlsCcaParams<F> where
F: RefUnwindSafe,
impl<F> Send for PlsCcaParams<F>
impl<F> Send for PlsCcaParams<F>
impl<F> Sync for PlsCcaParams<F>
impl<F> Sync for PlsCcaParams<F>
impl<F> Unpin for PlsCcaParams<F> where
F: Unpin,
impl<F> Unpin for PlsCcaParams<F> where
F: Unpin,
impl<F> UnwindSafe for PlsCcaParams<F> where
F: UnwindSafe,
impl<F> UnwindSafe for PlsCcaParams<F> where
F: UnwindSafe,