jadianes / spark-movie-lens

An on-line movie recommender using Spark, Python Flask, and the MovieLens dataset
Other
816 stars 395 forks source link

Fixed wrong comparison between movie_id and user_id #7

Closed marius92mc closed 8 years ago

marius92mc commented 8 years ago

Problem: In get_top_ratings() method, the filtering for the movies that weren't rated by the user_id is made based on comparison between movie_id and user_id. Fix: Replaced movie_id field from ratings_RDD with the user_id field.