Class MovieLens100k.Builder

    • Method Detail

      • optUsage

        public MovieLens100k.Builder optUsage​(ai.djl.training.dataset.Dataset.Usage usage)
        Sets the optional usage.
        Parameters:
        usage - the new usage
        Returns:
        this builder
      • optRepository

        public MovieLens100k.Builder optRepository​(ai.djl.repository.Repository repository)
        Sets the optional repository.
        Parameters:
        repository - the repository
        Returns:
        this builder
      • optGroupId

        public MovieLens100k.Builder optGroupId​(java.lang.String groupId)
        Sets optional groupId.
        Parameters:
        groupId - the groupId}
        Returns:
        this builder
      • optArtifactId

        public MovieLens100k.Builder optArtifactId​(java.lang.String artifactId)
        Sets the optional artifactId.
        Parameters:
        artifactId - the artifactId
        Returns:
        this builder
      • getAvailableFeatures

        public java.util.List<java.lang.String> getAvailableFeatures()
        Returns the available features of this dataset.
        Returns:
        a list of feature names
      • addFeature

        public MovieLens100k.Builder addFeature​(java.lang.String name)
        Adds a feature to the features set.
        Parameters:
        name - the name of the feature
        Returns:
        this builder