Skip to content

Commit

Permalink
Added genre tags, imdb_link for predicted movies
Browse files Browse the repository at this point in the history
  • Loading branch information
rishi2019194 committed Oct 16, 2023
1 parent d447188 commit e866594
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/prediction_scripts/item_based.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,6 @@ def recommend_for_new_user(user_rating):
by="recommended", ascending=False, inplace=True
)

return list(join_movies_and_recommendations["title"][:201])
return list(join_movies_and_recommendations["title"][:201]), \
list(join_movies_and_recommendations["genres"][:201]), \
list(join_movies_and_recommendations["imbd_id"][:201])

0 comments on commit e866594

Please sign in to comment.