-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreadme.Rmd
46 lines (32 loc) · 815 Bytes
/
readme.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
---
output: github_document
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(
fig.width = 3,
fig.height = 3,
fig.path = "README-"
)
library(dplyr)
```
## 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
```{r, eval = F}
install.packages("devtools")
devtools::install_github("stillmatic/MNIST")
```
## Usage
Data is exported as `MNIST::mnist_train` and `MNIST::mnist_test`.
```{r}
MNIST::mnist_train %>% dim
```
```{r}
table(MNIST::mnist_test$y)
```
```{r}
MNIST::show_digit(MNIST::mnist_train[42,])
```
## Notes
Credit belongs to [Yann Lecun](http://yann.lecun.com/exdb/mnist/), etc.