Description Usage Arguments Details Examples
Code heavily inspired by https://gist.github.com/brendano/39760
1 | createMNIST(file = getfilepath("MNIST.rds"), write = TRUE, read = TRUE)
|
file |
character; path/filename to write data file to |
write |
logical; should the dataset be written to disk for later use? (default: TRUE) |
read |
logical; should we try to read the dataset from the specified location first? (default: TRUE) |
First 60000 is train set, last 10000 is test set.
formula(Class~.)
1 | #as.matrix(data[1040,-785]) %>% matrix(28,28) %>% Matrix %>% t%>% image(asp=1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.