pub struct LassoReg {
pub lambda: f64,
}Expand description
Lasso (ℓ₁) regularization: min_h L(h) + λ‖h‖₁.
Fields§
§lambda: f64Regularization parameter λ.
Implementations§
Auto Trait Implementations§
impl Freeze for LassoReg
impl RefUnwindSafe for LassoReg
impl Send for LassoReg
impl Sync for LassoReg
impl Unpin for LassoReg
impl UnsafeUnpin for LassoReg
impl UnwindSafe for LassoReg
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