Andrey Nikishaev
1 min readMay 14, 2018

--

You have errors in your code. You are trying to use pairwise on array of shape (N, 3), while it should be (N,M), or you should save your ids, and transform it to CSR matrix

--

--