pub struct TrainingConfig {
pub num_iterations: usize,
pub learning_rate: f32,
pub regularization: RegularizationConfig,
pub early_stopping: EarlyStoppingConfig,
pub cv_folds: usize,
}Expand description
Training configuration for LTR models
Fields§
§num_iterations: usizeNumber of training iterations
learning_rate: f32Learning rate
regularization: RegularizationConfigRegularization parameters
early_stopping: EarlyStoppingConfigEarly stopping criteria
cv_folds: usizeCross-validation folds
Trait Implementations§
Source§impl Clone for TrainingConfig
impl Clone for TrainingConfig
Source§fn clone(&self) -> TrainingConfig
fn clone(&self) -> TrainingConfig
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for TrainingConfig
impl RefUnwindSafe for TrainingConfig
impl Send for TrainingConfig
impl Sync for TrainingConfig
impl Unpin for TrainingConfig
impl UnwindSafe for TrainingConfig
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