pub struct AutoFeatureConfig {
pub strategies: Vec<GenerationStrategy>,
pub max_features: usize,
pub selection_method: SelectionMethod,
pub selection_threshold: f64,
pub include_original: bool,
pub random_state: Option<u64>,
pub max_interaction_depth: usize,
pub remove_correlated: bool,
pub correlation_threshold: f64,
pub scale_features: bool,
}Expand description
Configuration for automated feature engineering
Fields§
§strategies: Vec<GenerationStrategy>Feature generation strategies
max_features: usizeMaximum number of features to generate
selection_method: SelectionMethodFeature selection method
selection_threshold: f64Threshold for feature selection
include_original: boolWhether to include original features
random_state: Option<u64>Random state for reproducible results
max_interaction_depth: usizeMaximum interaction depth
Whether to remove highly correlated features
correlation_threshold: f64Correlation threshold for removal
scale_features: boolWhether to scale features before selection
Implementations§
Source§impl AutoFeatureConfig
impl AutoFeatureConfig
Sourcepub fn with_strategy(self, strategy: GenerationStrategy) -> Self
pub fn with_strategy(self, strategy: GenerationStrategy) -> Self
Add a generation strategy
Sourcepub fn with_max_features(self, max_features: usize) -> Self
pub fn with_max_features(self, max_features: usize) -> Self
Set maximum number of features
Sourcepub fn with_selection_method(self, method: SelectionMethod) -> Self
pub fn with_selection_method(self, method: SelectionMethod) -> Self
Set selection method
Sourcepub fn with_selection_threshold(self, threshold: f64) -> Self
pub fn with_selection_threshold(self, threshold: f64) -> Self
Set selection threshold
Sourcepub fn with_include_original(self, include: bool) -> Self
pub fn with_include_original(self, include: bool) -> Self
Set whether to include original features
Sourcepub fn with_random_state(self, seed: u64) -> Self
pub fn with_random_state(self, seed: u64) -> Self
Set random state
Trait Implementations§
Source§impl Clone for AutoFeatureConfig
impl Clone for AutoFeatureConfig
Source§fn clone(&self) -> AutoFeatureConfig
fn clone(&self) -> AutoFeatureConfig
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 AutoFeatureConfig
impl Debug for AutoFeatureConfig
Auto Trait Implementations§
impl Freeze for AutoFeatureConfig
impl RefUnwindSafe for AutoFeatureConfig
impl Send for AutoFeatureConfig
impl Sync for AutoFeatureConfig
impl Unpin for AutoFeatureConfig
impl UnwindSafe for AutoFeatureConfig
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