pub struct L1(pub f64);
Expand description
L1 regularization with the given lambda value. Also known as LASSO, used to encourage sparsity.
Tuple Fields§
§0: f64
Trait Implementations§
Auto Trait Implementations§
impl Freeze for L1
impl RefUnwindSafe for L1
impl Send for L1
impl Sync for L1
impl Unpin for L1
impl UnwindSafe for L1
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