bpr
bpr copied to clipboard
What is the dataset format? I didn't try it successfully with csv file
Is there anyone who can give a .mtx dataset? Tks so much!
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写到文件