pub enum FeatureGrouping {
None,
AutoCorrelation {
threshold: Float,
selection_method: GroupSelectionMethod,
},
Manual {
groups: Vec<Vec<usize>>,
selection_method: GroupSelectionMethod,
},
Hierarchical {
n_clusters: usize,
linkage: LinkageMethod,
selection_method: GroupSelectionMethod,
},
}Expand description
Feature grouping strategy for handling correlated features
Variants§
None
No feature grouping (default)
AutoCorrelation
Automatic grouping based on correlation threshold
Fields
§
selection_method: GroupSelectionMethodMethod to select representative feature from each group
Manual
Manual feature groups specified by user
Fields
§
selection_method: GroupSelectionMethodMethod to select representative feature from each group
Hierarchical
Hierarchical clustering-based grouping
Fields
§
linkage: LinkageMethodLinkage method for hierarchical clustering
§
selection_method: GroupSelectionMethodMethod to select representative feature from each group
Trait Implementations§
Source§impl Clone for FeatureGrouping
impl Clone for FeatureGrouping
Source§fn clone(&self) -> FeatureGrouping
fn clone(&self) -> FeatureGrouping
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 FeatureGrouping
impl RefUnwindSafe for FeatureGrouping
impl Send for FeatureGrouping
impl Sync for FeatureGrouping
impl Unpin for FeatureGrouping
impl UnwindSafe for FeatureGrouping
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