pub struct AutoFeatureEngineer { /* private fields */ }Expand description
Automatic feature engineering pipeline
Implementations§
Source§impl AutoFeatureEngineer
impl AutoFeatureEngineer
Sourcepub fn polynomial_features(self, enable: bool, degree: usize) -> Self
pub fn polynomial_features(self, enable: bool, degree: usize) -> Self
Enable/disable polynomial features
Sourcepub fn interaction_features(self, enable: bool) -> Self
pub fn interaction_features(self, enable: bool) -> Self
Enable/disable interaction features
Sourcepub fn binning_features(self, enable: bool, n_bins: usize) -> Self
pub fn binning_features(self, enable: bool, n_bins: usize) -> Self
Enable/disable binning features
Sourcepub fn feature_selection(
self,
enable: bool,
max_features: Option<usize>,
) -> Self
pub fn feature_selection( self, enable: bool, max_features: Option<usize>, ) -> Self
Enable/disable feature selection
Sourcepub fn generate_features(
&self,
x: &ArrayView2<'_, Float>,
y: Option<&ArrayView1<'_, Float>>,
) -> SklResult<Array2<f64>>
pub fn generate_features( &self, x: &ArrayView2<'_, Float>, y: Option<&ArrayView1<'_, Float>>, ) -> SklResult<Array2<f64>>
Generate engineered features
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AutoFeatureEngineer
impl RefUnwindSafe for AutoFeatureEngineer
impl Send for AutoFeatureEngineer
impl Sync for AutoFeatureEngineer
impl Unpin for AutoFeatureEngineer
impl UnwindSafe for AutoFeatureEngineer
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> 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