pub struct LinearProbeConfig {
pub n_classes: usize,
pub n_folds: usize,
pub max_iter: usize,
pub tol: f64,
pub l2_reg: f64,
pub seed: u64,
}Expand description
Configuration for the linear probing evaluator.
Fields§
§n_classes: usizeNumber of target classes.
n_folds: usizeNumber of CV folds.
max_iter: usizeMaximum IRLS iterations per binary sub-problem.
tol: f64Convergence tolerance on the relative weight update.
l2_reg: f64L2 regularisation strength λ.
seed: u64Seed for the fold-shuffling RNG.
Trait Implementations§
Source§impl Clone for LinearProbeConfig
impl Clone for LinearProbeConfig
Source§fn clone(&self) -> LinearProbeConfig
fn clone(&self) -> LinearProbeConfig
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 LinearProbeConfig
impl Debug for LinearProbeConfig
Auto Trait Implementations§
impl Freeze for LinearProbeConfig
impl RefUnwindSafe for LinearProbeConfig
impl Send for LinearProbeConfig
impl Sync for LinearProbeConfig
impl Unpin for LinearProbeConfig
impl UnsafeUnpin for LinearProbeConfig
impl UnwindSafe for LinearProbeConfig
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