pub struct RidgeFitOptions {
pub lambda: f64,
pub intercept: bool,
pub standardize: bool,
}Expand description
Options for ridge regression fitting.
§Fields
lambda- Regularization strength (single value)intercept- Whether to include an intercept term (default: true)standardize- Whether to standardize predictors (default: true)
Fields§
§lambda: f64Regularization strength (must be >= 0)
intercept: boolWhether to include an intercept
standardize: boolWhether to standardize predictors
Trait Implementations§
Source§impl Clone for RidgeFitOptions
impl Clone for RidgeFitOptions
Source§fn clone(&self) -> RidgeFitOptions
fn clone(&self) -> RidgeFitOptions
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 RidgeFitOptions
impl Debug for RidgeFitOptions
Auto Trait Implementations§
impl Freeze for RidgeFitOptions
impl RefUnwindSafe for RidgeFitOptions
impl Send for RidgeFitOptions
impl Sync for RidgeFitOptions
impl Unpin for RidgeFitOptions
impl UnwindSafe for RidgeFitOptions
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