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

How to deal with large-scale sparse data? #342

Open
DynastyTHU opened this issue Aug 20, 2020 · 1 comment
Open

How to deal with large-scale sparse data? #342

DynastyTHU opened this issue Aug 20, 2020 · 1 comment

Comments

@DynastyTHU
Copy link

I find that there is a comment in DMatrix: 'Input data must be numpy.ndarray or pandas.DataFrame'. Does it mean that I have to provide all the data to the model, even with 99% of 0? Does xLearn support some sparse format of data, such as csr_matrix() or csc_matrix()?

@gdhzLZ
Copy link

gdhzLZ commented Sep 13, 2020

I think you can write a function to solve this problem. And i write a function to create this form libffm data. If you need, I can seed to you.

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

No branches or pull requests

2 participants