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
It would be great to have a feature which extends from class sklearn.feature_selection.SelectFromModel and allows us to review the score of the base estimator from which the transformer is built,
Something like feature_engine.sel_.score
That will help to undertand the score of the model used to select the features, as it is not the same to select A and B from a model that scores 0.5 than other features from a model which scores 0.97.
The text was updated successfully, but these errors were encountered:
What about also a function which will merge selected features columns names with the feature_importances_ or coef_ value? As I always need to perform that manually by adding some code like:
# Join ABS of Coefs with features
coef_table = pd.DataFrame(list(X_train.columns)).copy()
coef_table.insert(len(coef_table.columns), "Coefs", np.abs(sel_.estimator_.coef_).transpose())
It would be great to have a feature which extends from class sklearn.feature_selection.SelectFromModel and allows us to review the score of the base estimator from which the transformer is built,
Something like feature_engine.sel_.score
That will help to undertand the score of the model used to select the features, as it is not the same to select A and B from a model that scores 0.5 than other features from a model which scores 0.97.
The text was updated successfully, but these errors were encountered: