pub struct ComponentSelectionConfig {
pub max_components: usize,
pub min_components: usize,
pub n_folds: usize,
pub n_bootstrap: usize,
pub random_state: Option<u64>,
pub tolerance: Float,
}Expand description
Component selection configuration
Fields§
§max_components: usizeMaximum number of components to test
min_components: usizeMinimum number of components to test
n_folds: usizeNumber of cross-validation folds
n_bootstrap: usizeNumber of bootstrap samples
random_state: Option<u64>Random state for reproducibility
tolerance: FloatTolerance for convergence criteria
Trait Implementations§
Source§impl Clone for ComponentSelectionConfig
impl Clone for ComponentSelectionConfig
Source§impl Debug for ComponentSelectionConfig
impl Debug for ComponentSelectionConfig
Auto Trait Implementations§
impl Freeze for ComponentSelectionConfig
impl RefUnwindSafe for ComponentSelectionConfig
impl Send for ComponentSelectionConfig
impl Sync for ComponentSelectionConfig
impl Unpin for ComponentSelectionConfig
impl UnsafeUnpin for ComponentSelectionConfig
impl UnwindSafe for ComponentSelectionConfig
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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