Skip to content

stillmatic/MNIST

Repository files navigation

MNIST Image Data

Chris Hua / chua@wharton.upenn.edu

Produces the MNIST image recognition data as dataframes in R. Look at the vignettes for examples of how to work with the MNIST data, using tensorflow and neuralnet packages.

Installation

install.packages("devtools")
devtools::install_github("stillmatic/MNIST")

Usage

Data is exported as MNIST::mnist_train and MNIST::mnist_test.

MNIST::mnist_train %>% dim
## [1] 60000   785
table(MNIST::mnist_test$y)
## 
##    0    1    2    3    4    5    6    7    8    9 
##  980 1135 1032 1010  982  892  958 1028  974 1009
MNIST::show_digit(MNIST::mnist_train[42,])

Notes

Credit belongs to Yann Lecun, etc.

About

Simple R package to load MNIST data as data.frame

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages