avocado.Featurizer.extract_features¶
-
Featurizer.
extract_features
(astronomical_object)¶ Extract features from an object.
This method extracts raw features with extract_raw_features, and then selects the ones that should be used for classification with select_features. This method is just a wrapper around those two methods and is intended to be used as a shortcut for feature extraction on individual objects.
Parameters: astronomical_object ( AstronomicalObject
) – The astronomical object to featurize.Returns: features – The processed features that can be fed to a classifier. Return type: pandas.DataFrame or dict