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
I would like to use RFECV scores to be able to compare the R2 scores for different numbers of features selected based on PermutationImportance importances. My solution is as follows:
My understanding is that RFECV creates 3 folds and then PermutationImportance also creates 3 folds within each fold. Is that the case? The ideal situation is that PermutationImportance uses the same split as provided by RFECV, fits on the train data and provides the results for the validation set. Or maybe this is exactly what is happening in this case. Can someone confirm this, please?
Also, do I need to worry about the refit parameter? I'm not exactly sure what it does
The text was updated successfully, but these errors were encountered:
apptimise
changed the title
Using Permutation Feature with Sklearn RFECV
Using PermutationImportance with Sklearn RFECV
Jun 24, 2020
I would like to use
RFECV
scores to be able to compare the R2 scores for different numbers of features selected based onPermutationImportance
importances. My solution is as follows:My understanding is that
RFECV
creates 3 folds and thenPermutationImportance
also creates 3 folds within each fold. Is that the case? The ideal situation is thatPermutationImportance
uses the same split as provided byRFECV
, fits on the train data and provides the results for the validation set. Or maybe this is exactly what is happening in this case. Can someone confirm this, please?Also, do I need to worry about the
refit
parameter? I'm not exactly sure what it doesThe text was updated successfully, but these errors were encountered: