Description Usage Arguments Value Examples
Opens the MNIST training data and label files (not provided with package) and extracts the images and labels and returns them in a list
1 | extractMNIST(data,labels,s,centercrop=TRUE)
|
data |
String of path to file containing MNIST training images |
labels |
String of path to file containing MNIST training labels |
s |
Number of samples and labels to extract from file |
centercrop |
Boolean indicating whether the images should be centercropped to contain only 256 points |
List containing matrix of image data and array of training labels
1 2 3 4 | ## Not run:
extractMNIST("train-images.idx3-ubyte","train-labels.idx1-ubyte",2)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.