avocado.Featurizer.select_features

Featurizer.select_features(raw_features)

Select features to use for classification

This method should take a DataFrame or dictionary of raw features, produced by featurize, and output a list of processed features that can be fed to a classifier.

Parameters:raw_features (pandas.DataFrame or dict) – The raw features extracted using featurize.
Returns:features – The processed features that can be fed to a classifier.
Return type:pandas.DataFrame or dict