Class MNISTDigits


  • public final class MNISTDigits
    extends java.lang.Object
    Class for the MNIST digits dataset.
    • Constructor Summary

      Constructors 
      Constructor Description
      MNISTDigits()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static DatasetTT load()
      Load the data.
      static DatasetTT load​(java.lang.String directoryPath)
      Load the data from a directory.
      static void writeDataset()
      Write the data from csv files to a Java object dataset.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MNISTDigits

        public MNISTDigits()
    • Method Detail

      • load

        public static DatasetTT load()
        Load the data.
        Returns:
        the dataset
      • load

        public static DatasetTT load​(java.lang.String directoryPath)
        Load the data from a directory.

        The directory must contain two files: test.dat and train.dat

        Parameters:
        directoryPath - path to the data
        Returns:
        the dataset
      • writeDataset

        public static void writeDataset()
        Write the data from csv files to a Java object dataset.