spark-movie-lens icon indicating copy to clipboard operation
spark-movie-lens copied to clipboard

localhost:5432/0/ratings/top/10

Open ghost opened this issue 8 years ago • 2 comments

spark-movie-lens/engine.py", line 80, in get_top_ratings user_unrated_movies_rdd = self.movies_rdd.filter(lambda rating: not rating[1] == user_id)\

AttributeError: RecommendationEngine instance has no attribute 'movies_rdd'

ghost avatar May 18 '16 15:05 ghost

I think that should be RDD. How can I make a pull request for commit?

ghost avatar May 18 '16 15:05 ghost

Ran into this issue as well. Renamed user_unrated_movies_rdd to user_unrated_movies_RDD on line 80 of engine.py and this solved the issue locally.

jfefes avatar Jun 29 '16 15:06 jfefes