readMNIST: Function for generating .RData files of the MNIST Database

Description Usage Arguments Details

View source: R/mnist.R

Description

This function reads the MNIST-Database, randomized it and saves it in the files "train" for the training data and "test" for test data.

Usage

1
readMNIST(folder)

Arguments

folder

The location of the MNIST-Database files.

Details

When the data is read the variables for the training data is trainData and trainLabels and for the test data testData and testLabels. To start the function the files "train-images-idx3-ubyte", "train-labels-idx1-ubyte', "t10k-images-idx3-ubyte", and "t10k-labels-idx1-ubyte" have to be in the folder given by the parameter folder. The folder name must end with a slash.


darch documentation built on May 29, 2017, 8:14 p.m.

Related to readMNIST in darch...