Skip to content

Instantly share code, notes, and snippets.

@eunkwang
eunkwang / mnist.R
Created September 29, 2017 00:12 — forked from primaryobjects/mnist.R
MNIST machine learning example in R.
library(caret)
library(doParallel)
# Enable parallel processing.
cl <- makeCluster(detectCores())
registerDoParallel(cl)
# Load the MNIST digit recognition dataset into R
# http://yann.lecun.com/exdb/mnist/
# assume you have all 4 files and gunzip'd them