You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Movielens: getnnz() got an unexpected keyword argument 'axis' #87
Hello,
I just started playing around with lightFM, so this can be something that I just missed while trying the Movielens example.
Here is the code that I did following the tutorial available on this link import numpy as np from lightfm.datasets import fetch_movielens # movielens dataset from lightfm.evaluation import * # precision_at_k from lightfm import *
movielens = fetch_movielens()
train = movielens['train'] test = movielens['test']
Activity
maciejkula commentedon May 26, 2016
Thanks for the report --- can you post what your version of scipy is?
ricardoatsouza commentedon May 27, 2016
Thanks for your reply, and sorry for my late reply.
Scipy version is
0.13.0b1I found out by executing:
import scipyscipy.__version__maciejkula commentedon May 27, 2016
You should upgrade to a newer version of scipy, >= 0.17.0. I will change the requirements file to reflect this.
ricardoatsouza commentedon May 27, 2016
I wasn't aware that my SciPy version was too old.
I updated it and, indeed, that was the problem.
Thank you!