Class BenchmarkDataModels


  • public class BenchmarkDataModels
    extends Object
    This class allows final users to work with benchmark DataModel instances. These instances have been split into train and test subsets. ALERT: due to security changes on the server hosting the BenchmarkDataModels, these will no longer be available for versions lower than 2.3.0. If you need to continue using the BenchmarkDataModels, please upgrade to version 2.3.0 or higher.
    • Constructor Detail

      • BenchmarkDataModels

        public BenchmarkDataModels()
    • Method Detail

      • MovieLens100K

        public static DataModel MovieLens100K()
                                       throws IOException
        Loads a DataModel instance of MovieLens 100K dataset. The DataModel contains:
        • Number of users: 943
        • Number of test users: 280
        • Number of items: 1,682
        • Number of test items: 448
        • Number of ratings: 92,026
        • Number of test ratings: 7,974
        • Min rating: 1.0
        • Max rating: 5.0
        Visit https://grouplens.org/datasets/movielens/ for more information.
        Returns:
        A DataModel instance with MovieLens 100K dataset.
        Throws:
        IOException - When the DataModel can not be loaded.
      • MovieLens1M

        public static DataModel MovieLens1M()
                                     throws IOException
        Loads a DataModel instance of MovieLens 1M dataset. The DataModel contains:
        • Number of users: 6,040
        • Number of test users: 1,758
        • Number of items: 3,706
        • Number of test items: 1,032
        • Number of ratings: 911,031
        • Number of test ratings: 89,178
        • Min rating: 1.0
        • Max rating: 5.0
        Visit https://grouplens.org/datasets/movielens/ for more information.
        Returns:
        A DataModel instance with MovieLens 1M dataset.
        Throws:
        IOException - When the DataModel can not be loaded.
      • MovieLens10M

        public static DataModel MovieLens10M()
                                      throws IOException
        Loads a DataModel instance of MovieLens 1M dataset. The DataModel contains:
        • Number of users: 69,878
        • Number of test users: 20,851
        • Number of items: 10,677
        • Number of test items: 3,117
        • Number of ratings: 9,104,681
        • Number of test ratings: 895,373
        • Min rating: 0.5
        • Max rating: 5.0
        Visit https://grouplens.org/datasets/movielens/ for more information.
        Returns:
        A DataModel instance with MovieLens 1M dataset.
        Throws:
        IOException - When the DataModel can not be loaded.
      • FilmTrust

        public static DataModel FilmTrust()
                                   throws IOException
        Loads a DataModel instance of FilmTrust dataset. The DataModel contains:
        • Number of users: 1,508
        • Number of test users: 420
        • Number of items: 2,071
        • Number of test items: 325
        • Number of ratings: 32,675
        • Number of test ratings: 2,819
        • Min rating: 0.5
        • Max rating: 4.0
        Returns:
        A DataModel instance with FilmTrust dataset.
        Throws:
        IOException - When the DataModel can not be loaded.
      • BookCrossing

        public static DataModel BookCrossing()
                                      throws IOException
        Loads a DataModel instance of BookCrossing dataset. Only explicit ratings has been included. The DataModel contains:
        • Number of users: 77,805
        • Number of test users: 11,426
        • Number of items: 185,973
        • Number of test items: 25,697
        • Number of ratings: 390,351
        • Number of test ratings: 43,320
        • Min rating: 1.0
        • Max rating: 10.0
        Visit http://www2.informatik.uni-freiburg.de/~cziegler/BX/ for more information.
        Returns:
        A DataModel instance with BookCroosing dataset.
        Throws:
        IOException - When the DataModel can not be loaded.
      • LibimSeTi

        public static DataModel LibimSeTi()
                                   throws IOException
        Loads a DataModel instance of LibimSeTi dataset. The DataModel contains:
        • Number of users: 135,359
        • Number of test users: 40,940
        • Number of items: 168,791
        • Number of test items: 40,532
        • Number of ratings: 15,846,347
        • Number of test ratings: 1,512,999
        • Min rating: 1.0
        • Max rating: 10.0
        Visit http://www.occamslab.com/petricek/data/ for more information.
        Returns:
        A DataModel instance with LibimSeTi dataset.
        Throws:
        IOException - When the DataModel can not be loaded.
      • MyAnimeList

        public static DataModel MyAnimeList()
                                     throws IOException
        Loads a DataModel instance of MyAnimeList dataset. Only explicit ratings has been included. The DataModel contains:
        • Number of users: 69,600
        • Number of test users: 19,179
        • Number of items: 9,927
        • Number of test items: 2,692
        • Number of ratings: 5,788,207
        • Number of test ratings: 549,027
        • Min rating: 1.0
        • Max rating: 10.0
        Visit https://www.kaggle.com/CooperUnion/anime-recommendations-database/data for more information.
        Returns:
        A DataModel instance with LibimSeTi dataset.
        Throws:
        IOException - When the DataModel can not be loaded.
      • Jester

        public static DataModel Jester()
                                throws IOException
        Loads a DataModel instance of Jester (Dataset 3) dataset. The DataModel contains:
        • Number of users: 54,905
        • Number of test users: 16,465
        • Number of items: 140
        • Number of test items: 37
        • Number of ratings: 1,662,713
        • Number of test ratings: 179,657
        • Min rating: -10.0
        • Max rating: 10.0
        Visit http://eigentaste.berkeley.edu/dataset/ for more information.
        Returns:
        A DataModel instance with Jester dataset.
        Throws:
        IOException - When the DataModel can not be loaded.
      • NetflixPrize

        public static DataModel NetflixPrize()
                                      throws IOException
        Loads a DataModel instance of Netflix Prize dataset. The DataModel contains:
        • Number of users: 480,189
        • Number of test users: 23,012
        • Number of items: 17,770
        • Number of test items: 1,750
        • Number of ratings: 9,9945,049
        • Number of test ratings: 535,458
        • Min rating: 1.0
        • Max rating: 5.0
        Visit https://www.kaggle.com/netflix-inc/netflix-prize-data for more information.
        Returns:
        A DataModel instance with Netflix Prize dataset.
        Throws:
        IOException - When the DataModel can not be loaded.
      • BoardGameGeek

        public static DataModel BoardGameGeek()
                                       throws IOException
        Loads a DataModel instance of BoardGameGeek dataset. The DataModel contains:
        • Number of users: 411,375
        • Number of test users: 57,459
        • Number of items: 21,925
        • Number of test items: 4,372
        • Number of ratings: 18,273,394
        • Number of test ratings: 63,6134
        • Min rating: 1.0
        • Max rating: 10.0

        Visit https://www.kaggle.com/datasets/threnjen/board-games-database-from-boardgamegeek for more information. The duplicated ratings have been removed keeping only the last one defined.

        Returns:
        A DataModel instance with BoardGameGeek dataset.
        Throws:
        IOException - When the DataModel can not be loaded.