Skip to content

Instantly share code, notes, and snippets.

View hariharanwarm's full-sized avatar

Hariharan S hariharanwarm

View GitHub Profile
@hariharanwarm
hariharanwarm / mnist.R
Created September 17, 2018 01:27 — 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