Feature selection
CoreSelector
Bases: abc.ABC
Template for feature selection methods
Source code in autorad/feature_selection/selector.py
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | |
fit(X, y)
abstractmethod
fit method should update self.selected_columns. If no features are selected, it should raise NoFeaturesSelectedError.
Source code in autorad/feature_selection/selector.py
28 29 30 31 32 33 34 | |
FailoverSelectorWrapper
Bases: CoreSelector
Wrapper for FeatureSelectors which doesn't raise 'NoFeaturesSelectedError' but instead returns all features.
Source code in autorad/feature_selection/selector.py
146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 | |