August 2017
Intermediate to advanced
288 pages
8h 6m
English
For this recipe, you will require R (the rbm and ggplot2 packages) and the MNIST dataset. The MNIST dataset can be downloaded from the TensorFlow dataset library. The dataset consists of handwritten images of 28 x 28 pixels. It has 55,000 training examples and 10,000 test examples. It can be downloaded from the tensorflow library using the following script:
library(tensorflow) datasets <- tf$contrib$learn$datasets mnist <- datasets$mnist$read_data_sets("MNIST-data", one_hot = TRUE)
Read now
Unlock full access