Skip to content

Instantly share code, notes, and snippets.

@dradecic
Created September 1, 2019 16:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dradecic/d2bb599f662c8f586b4180d5baf17038 to your computer and use it in GitHub Desktop.
Save dradecic/d2bb599f662c8f586b4180d5baf17038 to your computer and use it in GitHub Desktop.
rfecv_6_low_importance_features
print(np.where(rfecv.support_ == False)[0])
X.drop(X.columns[np.where(rfecv.support_ == False)[0]], axis=1, inplace=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment