pub struct OrthogonalMatchingPursuitConfig {
pub n_nonzero_coefs: Option<usize>,
pub tol: Option<Float>,
pub fit_intercept: bool,
pub normalize: bool,
}Expand description
Configuration for OrthogonalMatchingPursuit
Fields§
§n_nonzero_coefs: Option<usize>Maximum number of non-zero coefficients in the solution
tol: Option<Float>Tolerance for the residual
fit_intercept: boolWhether to fit the intercept
normalize: boolWhether to normalize/standardize features before fitting
Trait Implementations§
Source§impl Clone for OrthogonalMatchingPursuitConfig
impl Clone for OrthogonalMatchingPursuitConfig
Source§fn clone(&self) -> OrthogonalMatchingPursuitConfig
fn clone(&self) -> OrthogonalMatchingPursuitConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for OrthogonalMatchingPursuitConfig
impl RefUnwindSafe for OrthogonalMatchingPursuitConfig
impl Send for OrthogonalMatchingPursuitConfig
impl Sync for OrthogonalMatchingPursuitConfig
impl Unpin for OrthogonalMatchingPursuitConfig
impl UnwindSafe for OrthogonalMatchingPursuitConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more