Class MovieLens100k

java.lang.Object
ai.djl.training.dataset.RandomAccessDataset
All Implemented Interfaces:
ai.djl.training.dataset.Dataset

public final class MovieLens100k extends CsvDataset
Movielens 100k movie reviews dataset from https://grouplens.org/datasets/movielens/100k/.
  • Method Details

    • getCell

      public String getCell(long rowIndex, String featureName)
      Returns a cell in the dataset.
      Overrides:
      getCell in class CsvDataset
      Parameters:
      rowIndex - the row index or record index for the cell
      featureName - the feature or column of the cell
      Returns:
      the value of the cell at that row and column
    • prepare

      public void prepare(ai.djl.util.Progress progress) throws IOException
      Specified by:
      prepare in interface ai.djl.training.dataset.Dataset
      Overrides:
      prepare in class CsvDataset
      Throws:
      IOException
    • builder

      public static MovieLens100k.Builder builder()
      Creates a builder to build a MovieLens100k.
      Returns:
      a new builder