Statistics, Regression, Data Science, Machine Learning, AI.
Selecting feature to remove features_to_remove = ['Feature_1', 'Feature_5', 'Feature_6', 'Feature_7', 'Feature_8', 'Feature_10'] # Removing features new_X_train = X_train.drop(features_to_remove, axis =1) new_X_test = X_test.drop(features_to_remove, axis =1) We now have a more compact X sets with 4