You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
More model types than LR should have scaled features, and scaling can aid in postmodeling analysis for all model types. Abstract the scaler that @shaycrk wrote and allow it to take a learner class (e.g., xgboost.XGBClassifier or sklearn.linear_model.LogisticRegression) and apply the same scaling at test and train.
The text was updated successfully, but these errors were encountered:
One potential implementation is to make scaling a top-level key in the config (with sklearn class and params) and to pass all learners to the scaler. Another option would be to make scaling an optional key for model grid.
More model types than LR should have scaled features, and scaling can aid in postmodeling analysis for all model types. Abstract the scaler that @shaycrk wrote and allow it to take a learner class (e.g.,
xgboost.XGBClassifier
orsklearn.linear_model.LogisticRegression
) and apply the same scaling at test and train.The text was updated successfully, but these errors were encountered: