This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |