Last chance! 50% off unlimited learning
Sale ends in
Loads MNIST training, validation, and test data and generates one hot encodings for the targets. The test set proportion is not specified and is instead the remainder from the test and validation proportions.
load_mnist(train_prop = 0.8, validate_prop = 0.1)
proportion of the data used for the training set
proportion of the data used for the validation set
list of training and validation data and targets
# NOT RUN {
mnist <- load_mnist(0.8, 0.1)
train_data <- mnist[1]
train_target <- mnist[2]
validate_data <- mnist[3]
validate_target <- mnist[4]
test_data <- mnist[5]
test_target <- mnist[6]
# }
Run the code above in your browser using DataLab