pub struct EarlyStoppingReg {
pub max_iters: usize,
pub step_size: f64,
}Expand description
Early stopping regularization — implicit regularization by iteration count.
Fields§
§max_iters: usizeMaximum number of gradient descent iterations.
step_size: f64Step size.
Implementations§
Auto Trait Implementations§
impl Freeze for EarlyStoppingReg
impl RefUnwindSafe for EarlyStoppingReg
impl Send for EarlyStoppingReg
impl Sync for EarlyStoppingReg
impl Unpin for EarlyStoppingReg
impl UnsafeUnpin for EarlyStoppingReg
impl UnwindSafe for EarlyStoppingReg
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