mnist_127 | R Documentation |
We only include a randomly selected set of 1s, 2s and 7s along with the two predictors based on the proportion of dark pixels in the upper left and lower right quadrants respectively. The dataset is divided into training and test sets.
mnist_127
An object of class list
.
train. A data frame containing training data: labels and predictors.
test. A data frame containing test data: labels and predictors.
index_train. The index of the original mnist training data used for the training set.
index_test. The index of the original mnist test data used for the test set.
Y. LeCun, L. Bottou, Y. Bengio, and P. Haffner. "Gradient-based learning applied to document recognition." Proceedings of the IEEE, 86(11):2278-2324, November 1998.
[read_mnist(), mnist_27]
with(mnist_127$train, plot(x_1, x_2, col = as.numeric(y)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.