pub struct LbfgsConfig {
pub memory: usize,
pub max_iter: usize,
pub grad_tol: f64,
pub backtrack: f64,
pub max_line_search: usize,
pub l2: f64,
}Expand description
L-BFGS configuration.
Fields§
§memory: usizeNumber of (s,y) history pairs retained.
max_iter: usizeMaximum optimiser iterations.
grad_tol: f64Gradient-norm convergence tolerance.
backtrack: f64Line-search backtracking factor (multiplicative shrink).
max_line_search: usizeMaximum line-search trials per iteration.
l2: f64L2 regularisation strength on parameters.
Trait Implementations§
Source§impl Clone for LbfgsConfig
impl Clone for LbfgsConfig
Source§fn clone(&self) -> LbfgsConfig
fn clone(&self) -> LbfgsConfig
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 moreSource§impl Debug for LbfgsConfig
impl Debug for LbfgsConfig
Auto Trait Implementations§
impl Freeze for LbfgsConfig
impl RefUnwindSafe for LbfgsConfig
impl Send for LbfgsConfig
impl Sync for LbfgsConfig
impl Unpin for LbfgsConfig
impl UnsafeUnpin for LbfgsConfig
impl UnwindSafe for LbfgsConfig
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