pub struct CuttingPlaneConfig {
pub max_iter: usize,
pub lr: f64,
pub lr_decay: f64,
pub regularisation: f64,
pub tol: f64,
}Expand description
Hyper-parameters for sub-gradient / cutting-plane SSVM training.
Fields§
§max_iter: usizeMaximum training epochs.
lr: f64Initial learning rate.
lr_decay: f64Learning-rate decay: lr_t = lr / (1 + lr_decay · t).
regularisation: f64L2 regularisation factor on parameters.
tol: f64Stop when total Hamming loss falls below this.
Trait Implementations§
Source§impl Clone for CuttingPlaneConfig
impl Clone for CuttingPlaneConfig
Source§fn clone(&self) -> CuttingPlaneConfig
fn clone(&self) -> CuttingPlaneConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CuttingPlaneConfig
Source§impl Debug for CuttingPlaneConfig
impl Debug for CuttingPlaneConfig
Auto Trait Implementations§
impl Freeze for CuttingPlaneConfig
impl RefUnwindSafe for CuttingPlaneConfig
impl Send for CuttingPlaneConfig
impl Sync for CuttingPlaneConfig
impl Unpin for CuttingPlaneConfig
impl UnsafeUnpin for CuttingPlaneConfig
impl UnwindSafe for CuttingPlaneConfig
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