BaseFeatureSelectionTransform¶
- class BaseFeatureSelectionTransform(features_to_use: Union[List[str], Literal['all']] = 'all', return_features: bool = False)[source]¶
Bases:
etna.transforms.base.Transform
Base class for feature selection transforms.
- Inherited-members
- Parameters
features_to_use (Union[List[str], Literal['all']]) –
return_features (bool) –
Methods
fit
(df)Fit feature model.
fit_transform
(df)May be reimplemented.
Apply inverse transform to the data.
load
(path)Load an object.
save
(path)Save the object.
to_dict
()Collect all information about etna object in dict.
transform
(df)Select top_k features.