You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"SELECT r.user_id, r.movie_id, r.rating, r.timestamp FROM ratings r INNER JOIN (SELECT user_id FROM ratings GROUP BY user_id HAVING COUNT(*) >= 5) o ON r.user_id = o.user_id",
con = engine
)
reader = Reader(rating_scale=(0.5,5))
data = Dataset.load_from_df(ratings_df[['user_id', 'movie_id', 'rating']], reader)