The predict function that receives new_user_unrated_movies_RDD:
# Use the input RDD, new_user_unrated_movies_RDD, with new_ratings_model.predictAll() to predict new ratings for the movies
new_user_recommendations_RDD = new_ratings_model.predictAll(new_user_unrated_movies_RDD)
The list of unrated movies contains duplicates:
Should there be a distinct added?
The predict function that receives new_user_unrated_movies_RDD: