Struct linfa_svm::solver_smo::SolverParams
source · pub struct SolverParams<F: Float> {
pub eps: F,
pub shrinking: bool,
}
Expand description
Parameters of the solver routine
Fields§
§eps: F
Stopping condition
shrinking: bool
Should we shrink, e.g. ignore bounded alphas
Trait Implementations§
source§impl<F: Clone + Float> Clone for SolverParams<F>
impl<F: Clone + Float> Clone for SolverParams<F>
source§fn clone(&self) -> SolverParams<F>
fn clone(&self) -> SolverParams<F>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<F: PartialEq + Float> PartialEq for SolverParams<F>
impl<F: PartialEq + Float> PartialEq for SolverParams<F>
source§fn eq(&self, other: &SolverParams<F>) -> bool
fn eq(&self, other: &SolverParams<F>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<F: Float> StructuralPartialEq for SolverParams<F>
Auto Trait Implementations§
impl<F> RefUnwindSafe for SolverParams<F>where F: RefUnwindSafe,
impl<F> Send for SolverParams<F>
impl<F> Sync for SolverParams<F>
impl<F> Unpin for SolverParams<F>
impl<F> UnwindSafe for SolverParams<F>where F: UnwindSafe,
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