pub struct SequentialFeatureSelectionConfig {
pub direction: SelectionDirection,
pub n_features_to_select: Option<usize>,
pub n_features_fraction: Option<Float>,
pub scoring: String,
pub cv: usize,
pub tol: Float,
pub estimator_config: LinearDiscriminantAnalysisConfig,
pub random_state: Option<u64>,
pub verbose: bool,
}Expand description
Configuration for Sequential Feature Selection
Fields§
§direction: SelectionDirectionSelection direction (forward or backward)
n_features_to_select: Option<usize>Number of features to select
n_features_fraction: Option<Float>Fraction of features to select (used if n_features_to_select is None)
scoring: StringScoring method for feature evaluation
cv: usizeNumber of cross-validation folds
tol: FloatTolerance for improvement (stop if improvement is less than this)
estimator_config: LinearDiscriminantAnalysisConfigBase estimator configuration
random_state: Option<u64>Random state for reproducible results
verbose: boolVerbose output
Trait Implementations§
Source§impl Clone for SequentialFeatureSelectionConfig
impl Clone for SequentialFeatureSelectionConfig
Source§fn clone(&self) -> SequentialFeatureSelectionConfig
fn clone(&self) -> SequentialFeatureSelectionConfig
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 SequentialFeatureSelectionConfig
impl RefUnwindSafe for SequentialFeatureSelectionConfig
impl Send for SequentialFeatureSelectionConfig
impl Sync for SequentialFeatureSelectionConfig
impl Unpin for SequentialFeatureSelectionConfig
impl UnwindSafe for SequentialFeatureSelectionConfig
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