pub struct FitConfig {
pub negative_weight: f64,
pub complexity_weight: f64,
pub sigma: f64,
pub evaluations: u64,
}Expand description
Parameters of fit.
Fields§
§negative_weight: f64The weight λ- of satisfied negatives. The positive margin grows with slope 1 as a
threshold loosens, and each admitted negative adds slope -λ- / |D-|; so with
λ- > |D-| admitting even one negative never pays, while smaller weights trade a few
admitted negatives for margin on the positives.
complexity_weight: f64The weight λc of the complexity term (constant for a fixed template; it matters when
several templates are compared by their Fitted::score).
sigma: f64The initial CMA-ES step size, in threshold units.
evaluations: u64The evaluation budget of CMA-ES.
Trait Implementations§
impl Copy for FitConfig
impl StructuralPartialEq for FitConfig
Auto Trait Implementations§
impl Forget for FitConfig
impl Freeze for FitConfig
impl Move for FitConfig
impl RefUnwindSafe for FitConfig
impl Send for FitConfig
impl Sync for FitConfig
impl Unpin for FitConfig
impl UnsafeUnpin for FitConfig
impl UnwindSafe for FitConfig
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