Learn R Programming

T4transport (version 0.1.2)

digit3: MNIST Images of Digit 3

Description

digit3 contains 2000 images from the famous MNIST dataset of digit 3. Each element of the list is an image represented as an \((28\times 28)\) matrix that sums to 1. This normalization is conventional and it does not hurt its visualization via a basic image() function.

Usage

data(digit3)

Arguments

Format

a length-\(2000\) named list "digit3" of \((28\times 28)\) matrices.

Examples

Run this code
## LOAD THE DATA
data(digit3)

## SHOW A FEW
opar <- par(no.readonly=TRUE)
par(mfrow=c(2,4), pty="s")
for (i in 1:8){
  image(digit3[[i]])
}
par(opar)

Run the code above in your browser using DataLab