provideMNIST: Provides MNIST data set in the given folder.

Description Usage Arguments Value Examples

View source: R/mnist.R

Description

This function will, if necessary and allowed, download the compressed MNIST data set and save it to .RData files using readMNIST. If the compressed MNIST archives are available, it will convert them into RData files loadable from within R. If the RData files are already available, nothing will be done.

Usage

1
provideMNIST(folder = "data/", download = F)

Arguments

folder

Folder name, including a trailing slash.

download

Logical indicating whether download is allowed.

Value

Boolean value indicating success or failure.

Examples

1
2
3
4
## Not run: 
provideMNIST("mnist/", download = T)

## End(Not run)

maddin79/darch documentation built on May 21, 2019, 10:53 a.m.