-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
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
Regression demo is broken #5709
Comments
When loading from LIBSVM, we should be able to append empty columns to run predictions, because the test data may not necessarily have all the features. This is because the LIBSVM format does not specify the number of columns in the data. |
I prefer leaving it to data preprocessing. |
Not sure what you mean by this. The demo uses a built-in LIBSVM parser, so there is no data preprocessing step. |
More details: in the test set My hope is that XGBoost should handle this scenario gracefully, i.e. test matrices whose last columns are empty. Rather than throwing error, XGBoost should treat all feature values as missing for features 34 and 35. I believe that's how XGBoost used to behave, since the regression demo was around since XGBoost version 0.60. |
Idea: Use |
The demo
demo/regression
is not working.The text was updated successfully, but these errors were encountered: