Created
April 4, 2019 23:47
-
-
Save gabraganca/e18b29cdd34f662fcef8da92029426ce to your computer and use it in GitHub Desktop.
Criar dataset pro surprise
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
reader = Reader(rating_scale=(0.5, 5)) | |
data = Dataset.load_from_df(df_ratings[['userId', 'movieId', 'rating']], | |
reader) | |
full_trainset = data.build_full_trainset() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment