pub enum RegularizationPathType {
Lasso,
ElasticNet {
l1_ratio: Float,
},
GroupLasso {
groups: Vec<Vec<usize>>,
},
AdaptiveLasso {
weights: Array1<Float>,
},
FusedLasso,
}Expand description
Regularization path algorithm types
Variants§
Lasso
Lasso regularization path (L1)
ElasticNet
Elastic Net regularization path (L1 + L2)
GroupLasso
Group Lasso regularization path
AdaptiveLasso
Adaptive Lasso with feature-specific weights
FusedLasso
Fused Lasso for sequence data
Trait Implementations§
Source§impl Clone for RegularizationPathType
impl Clone for RegularizationPathType
Source§fn clone(&self) -> RegularizationPathType
fn clone(&self) -> RegularizationPathType
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 moreSource§impl Debug for RegularizationPathType
impl Debug for RegularizationPathType
Source§impl Default for RegularizationPathType
impl Default for RegularizationPathType
Source§fn default() -> RegularizationPathType
fn default() -> RegularizationPathType
Returns the “default value” for a type. Read more
Source§impl PartialEq for RegularizationPathType
impl PartialEq for RegularizationPathType
impl StructuralPartialEq for RegularizationPathType
Auto Trait Implementations§
impl Freeze for RegularizationPathType
impl RefUnwindSafe for RegularizationPathType
impl Send for RegularizationPathType
impl Sync for RegularizationPathType
impl Unpin for RegularizationPathType
impl UnwindSafe for RegularizationPathType
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