-
Notifications
You must be signed in to change notification settings - Fork 635
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Better messaging around failures in RFE #424
Comments
Agreed! I expanded it a little. |
I am getting the "This may be caused by having zero-variance predictors, excessively-correlated predictors, or you may have failed to drop one of your dummy variables." error now. I checked for zero variation predictors and removed highly correlated predictors. So I assume that i need to drop one of my dummy variables. How do I know which column to drop? And what does "failed to drop one of your dummy variables" mean? Ashvin |
You can filter these out when you build the model but using
That means you have dummy variables for all of the factor levels (instead of leaving one out). This can cause a linear dependency in the X matrix. |
This failure message in RFE could be more helpful. I just spent two hours debugging my own stupid mistake where I failed to drop one of my dummy-variable columns :(.
To help people in the future, maybe we could add something like: "This may be caused by having zero-variance predictors, excessively-correlated predictors, or you may have failed to drop one of your dummy variables."
The text was updated successfully, but these errors were encountered: