This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This gist contains code for this scipy issue | |
https://github.com/scipy/scipy/issues/12690#issuecomment-1214276702 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/utils/tabular/features/abstract_feature_generator.py b/utils/tabular/features/abstract_feature_generator.py | |
index 155cc1f..2fbcdf8 100644 | |
--- a/utils/tabular/features/abstract_feature_generator.py | |
+++ b/utils/tabular/features/abstract_feature_generator.py | |
@@ -89,20 +89,23 @@ class AbstractFeatureGenerator: | |
self.features_to_remove += self.banned_features | |
X_index = copy.deepcopy(X.index) | |
X.columns = X.columns.astype(str) # Ensure all column names are strings | |
+ | |
+ # populate self.features_init, self.feature_type_family, self.features_to_remove |