pub struct RegularizationPathConfig {
pub path_type: RegularizationPathType,
pub n_lambdas: usize,
pub lambda_min_ratio: Float,
pub lambdas: Option<Array1<Float>>,
pub tol: Float,
pub max_iter: usize,
pub fit_intercept: bool,
pub cv_strategy: CrossValidationStrategy,
pub standardize: bool,
pub early_stopping: bool,
pub min_improvement: Float,
pub verbose: bool,
}Expand description
Configuration for regularization path computation
Fields§
§path_type: RegularizationPathTypeType of regularization path
n_lambdas: usizeNumber of lambda values to compute
lambda_min_ratio: FloatMinimum lambda value (relative to lambda_max)
lambdas: Option<Array1<Float>>Custom lambda values (if provided, overrides n_lambdas)
tol: FloatTolerance for convergence
max_iter: usizeMaximum number of iterations per lambda
fit_intercept: boolWhether to fit an intercept
cv_strategy: CrossValidationStrategyCross-validation strategy
standardize: boolWhether to standardize features
early_stopping: boolEarly stopping for path computation
min_improvement: FloatMinimum improvement for early stopping
verbose: boolVerbose output
Trait Implementations§
Source§impl Clone for RegularizationPathConfig
impl Clone for RegularizationPathConfig
Source§fn clone(&self) -> RegularizationPathConfig
fn clone(&self) -> RegularizationPathConfig
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 RegularizationPathConfig
impl Debug for RegularizationPathConfig
Auto Trait Implementations§
impl Freeze for RegularizationPathConfig
impl RefUnwindSafe for RegularizationPathConfig
impl Send for RegularizationPathConfig
impl Sync for RegularizationPathConfig
impl Unpin for RegularizationPathConfig
impl UnwindSafe for RegularizationPathConfig
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