download_mnist: Download the mnist data

Description Usage Arguments Details Value Examples

View source: R/downloadAndLoad.R

Description

download_mnist downloads the mnist dataset into ./mnist.

Usage

1
download_mnist(where = "./")

Arguments

where

Path to where the dataset should be saved. Default is current working directory.

Details

The function creates the mnist directory in the specified directory where, downloads the dataset and unzips it. Use the function load_mnist afterwards to load the dataset into the workspace. The dataset is downloaded from http://yann.lecun.com/exdb/mnist/. Check out the webpage for performance of various classifiers. It may depend on your platform whether the dataset is successfully unzipped.

Value

Returns TRUE if successful.

Examples

1
2
3
4
5
## Not run: 
download_mnist('somePathToStore/')
load_mnist('samePathAsAbove/')

## End(Not run)

gumeo/mnistr documentation built on May 17, 2019, 9:27 a.m.