Skip to content

Instantly share code, notes, and snippets.

@dpoulopoulos
Last active February 22, 2020 18:41
Show Gist options
  • Select an option

  • Save dpoulopoulos/1e2aade4718b41c2dbf6f53035cade19 to your computer and use it in GitHub Desktop.

Select an option

Save dpoulopoulos/1e2aade4718b41c2dbf6f53035cade19 to your computer and use it in GitHub Desktop.
How many unique users and items are in movielens 1m dataset.
n_users = ratings_df['user_code'].max() + 1
n_movies = ratings_df['movie_code'].max() + 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment