pub struct WarmStartRegressorConfig {
pub max_iter: usize,
pub learning_rate: Float,
pub alpha: Float,
pub tol: Float,
pub early_stopping: Option<EarlyStoppingConfig>,
pub verbose: bool,
}Expand description
Configuration for warm start regressor
Fields§
§max_iter: usizeMaximum number of iterations
learning_rate: FloatLearning rate
alpha: FloatL2 regularization
tol: FloatTolerance for convergence
early_stopping: Option<EarlyStoppingConfig>Early stopping configuration
verbose: boolVerbosity level
Trait Implementations§
Source§impl Clone for WarmStartRegressorConfig
impl Clone for WarmStartRegressorConfig
Source§fn clone(&self) -> WarmStartRegressorConfig
fn clone(&self) -> WarmStartRegressorConfig
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 moreSource§impl Debug for WarmStartRegressorConfig
impl Debug for WarmStartRegressorConfig
Auto Trait Implementations§
impl Freeze for WarmStartRegressorConfig
impl RefUnwindSafe for WarmStartRegressorConfig
impl Send for WarmStartRegressorConfig
impl Sync for WarmStartRegressorConfig
impl Unpin for WarmStartRegressorConfig
impl UnwindSafe for WarmStartRegressorConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more