摘要: indptr = np.array([0, 2, 3, 6]) #6代表非零元素总个数为6 indices = np.array([0, 2, 2, 0, 1, 2]) data = np.array([1, 2, 3, 4, 5, 6]) csr_matrix((data, indices, in 阅读全文
posted @ 2019-11-12 14:32 zwtzz 阅读(272) 评论(0) 推荐(0) 编辑