pub struct FeatureEngineeringChain { /* private fields */ }Expand description
Feature engineering chain builder
Implementations§
Source§impl FeatureEngineeringChain
impl FeatureEngineeringChain
Sourcepub fn polynomial_features(self, degree: usize, include_bias: bool) -> Self
pub fn polynomial_features(self, degree: usize, include_bias: bool) -> Self
Add polynomial features
Sourcepub fn feature_selection(self, k_best: usize) -> Self
pub fn feature_selection(self, k_best: usize) -> Self
Add feature selection
Sourcepub fn text_vectorizer(self, max_features: Option<usize>) -> Self
pub fn text_vectorizer(self, max_features: Option<usize>) -> Self
Add text vectorization
Sourcepub fn done(self) -> FluentPipelineBuilder<BuilderWithSteps>
pub fn done(self) -> FluentPipelineBuilder<BuilderWithSteps>
Finish feature engineering and return to main builder
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FeatureEngineeringChain
impl !RefUnwindSafe for FeatureEngineeringChain
impl !Send for FeatureEngineeringChain
impl !Sync for FeatureEngineeringChain
impl Unpin for FeatureEngineeringChain
impl !UnwindSafe for FeatureEngineeringChain
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