Skip to content
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

Add back support for scipy.sparse.coo_matrix #6162

Merged
merged 1 commit into from Sep 25, 2020
Merged

Conversation

hcho3
Copy link
Collaborator

@hcho3 hcho3 commented Sep 24, 2020

See https://discuss.xgboost.ai/t/sparse-matrix-no-longer-supported-in-scikit-learn/1850?u=hcho3. Previous versions of XGBoost used to support the COO sparse matrix but the latest (1.2.0) does not support it.

This pull request restores the support.

@trivialfis
Copy link
Member

I think in the old code, we have procedure for converting unknown data to csr using scipy. I left that code out in the last refactor.

@hcho3 hcho3 merged commit bd2b1ea into dmlc:master Sep 25, 2020
@hcho3 hcho3 deleted the support_coo branch September 25, 2020 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants