Beispiel #1
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: public static org.neuroph.core.data.DataSet createFromFile(String labelPath, String imagePath, int sampleCount) throws java.io.IOException
        public static DataSet createFromFile(string labelPath, string imagePath, int sampleCount)
        {
            List <MNISTImage> mnistImages = MNISTImage.loadDigitImages(labelPath, imagePath);
            DataSet           dataSet     = createDataSet(mnistImages, sampleCount);

            return(dataSet);
        }