Struct linfa_pls::PlsCcaParams
source · [−]pub struct PlsCcaParams<F: Float>(_);
Implementations
sourceimpl<F: Float> PlsCcaParams<F>
impl<F: Float> PlsCcaParams<F>
sourcepub fn max_iterations(self, max_iter: usize) -> Self
pub fn max_iterations(self, max_iter: usize) -> Self
Set the maximum number of iterations of the power method when algorithm=‘Nipals’. Ignored otherwise.
Trait Implementations
sourceimpl<F: Float> ParamGuard for PlsCcaParams<F>
impl<F: Float> ParamGuard for PlsCcaParams<F>
type Checked = PlsCcaValidParams<F>
type Checked = PlsCcaValidParams<F>
The checked hyperparameters
sourcefn check_ref(&self) -> Result<&Self::Checked, Self::Error>
fn check_ref(&self) -> Result<&Self::Checked, Self::Error>
Checks the hyperparameters and returns a reference to the checked hyperparameters if successful Read more
sourcefn check(self) -> Result<Self::Checked, Self::Error>
fn check(self) -> Result<Self::Checked, Self::Error>
Checks the hyperparameters and returns the checked hyperparameters if successful
sourcefn check_unwrap(self) -> Self::Checked
fn check_unwrap(self) -> Self::Checked
Calls check()
and unwraps the result
Auto Trait Implementations
impl<F> RefUnwindSafe for PlsCcaParams<F> where
F: RefUnwindSafe,
impl<F> Send for PlsCcaParams<F>
impl<F> Sync for PlsCcaParams<F>
impl<F> Unpin for PlsCcaParams<F>
impl<F> UnwindSafe for PlsCcaParams<F> where
F: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more