Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

localhost:5432/0/ratings/top/10 #9

Open
ghost opened this issue May 18, 2016 · 2 comments
Open

localhost:5432/0/ratings/top/10 #9

ghost opened this issue May 18, 2016 · 2 comments

Comments

@ghost
Copy link

ghost commented May 18, 2016

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
Copy link
Author

ghost commented May 18, 2016

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

@jfefes
Copy link

jfefes commented Jun 29, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant