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
--
Machine Learning and Computer Vision Researcher. Founder LearnML.Today
Love podcasts or audiobooks? Learn on the go with our new app.