bpr icon indicating copy to clipboard operation
bpr copied to clipboard

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

Open yangxin42 opened this issue 8 years ago • 1 comments

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

yangxin42 avatar May 27 '17 09:05 yangxin42

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写到文件

wangruicn avatar Jun 16 '17 08:06 wangruicn