Struct linfa_pls::PlsCcaParams
source · pub struct PlsCcaParams<F: Float>(/* private fields */);
Implementations§
source§impl<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§
source§impl<F: Float> ParamGuard for PlsCcaParams<F>
impl<F: Float> ParamGuard for PlsCcaParams<F>
§type Checked = PlsCcaValidParams<F>
type Checked = PlsCcaValidParams<F>
The checked hyperparameters
source§fn 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
source§fn 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
source§fn check_unwrap(self) -> Self::Checkedwhere
Self: Sized,
fn check_unwrap(self) -> Self::Checkedwhere
Self: Sized,
Calls
check()
and unwraps the resultAuto 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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more