Last active
May 14, 2020 06:54
-
-
Save oscar-defelice/e2c423b6eaec8a714f4d207beb08dbca to your computer and use it in GitHub Desktop.
snippet of code for recommender systems
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
df_matrix = df_rating.pivot(index='UserId', columns='MovieId', values='Rating') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment