Skip to content

Instantly share code, notes, and snippets.

@pushpendre
pushpendre / .AA_README_12690_The_case_for_Symplectic_Solvers_in_ODE_Solver
Last active August 19, 2022 19:06
A high-level design for exposing the symplectic integrator in boost
This gist contains code for this scipy issue
https://github.com/scipy/scipy/issues/12690#issuecomment-1214276702
@pushpendre
pushpendre / pid_control_servers.ipynb
Created July 4, 2021 19:49
PID Controller for controlling the number of servers in a data-center. This notebook accompanies the video https://youtu.be/pKuVUmpYkLk
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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