-
-
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
More robust DMatrix creation from a sparse matrix #1606
Conversation
https://travis-ci.org/dmlc/xgboost/builds/162198885 see the lint and lightweight test error. Note that lightweight test comes without sklearn or other external dependencies |
still another lint problem in c_api.cc final step to go! |
I guess I just have to install python2 to make the linter work locally for me. |
I will push jvm changes after this is merged |
00c5baa
to
e474791
Compare
I've just updated the R-package to just use the new interface. The long vector support would need to be another issue. |
Thanks, some final comments
|
Is that better? |
Thanks! this is merged |
Thank you very much for this PR! I am using the python bindings and noticed that creating a DMatrix from |
Addresses #1583
The new "explicit" XGDMatrixCreateFromCS*Ex functions are pretty much duplicates of the old ones with an extra argument, slight code change, and slightly safer types. The old ones are marked as
\deprecated
in their doc.I've updated the Python interface, but need to think a bit more about R (would like to make it handle the 64 bit indexing properly). And I didn't touch jvm.