khanhnamle1994 / movielens

4 different recommendation engines for the MovieLens dataset.
https://grouplens.org/datasets/movielens/
MIT License
419 stars 186 forks source link

why use svds instead of svd since Ratings_demeaned is not sparse? #5

Open rong1981 opened 4 years ago

rong1981 commented 4 years ago

Hi, In the svd recommender, you got the Ratings_demeaned matrix by R - user_ratings_mean.reshape(-1, 1), actually it's not a sparse matrix (only the original R is), is there any reason for you to use scipy.sparse.linalg.svds to do the decomposition?

thanks, Terry