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

What is the dataset format? I didn't try it successfully with csv file #9

Open
yangxin42 opened this issue May 27, 2017 · 1 comment

Comments

@yangxin42
Copy link

Is there anyone who can give a .mtx dataset? Tks so much!

@wangruicn
Copy link

You can make a .mtx file with scipy.io.mmwrite and scipy.sparse.csr_matrix could transform a numpy.ndarray to a csr_matrix。
用scipy.sparse_csr将ndarray的数组转化为csr矩阵,然后用scipy.io.mmwrite写到文件

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