Question: In R, using the MNIST dataset (which can be accessed in R with read_mnist()), implement a decision tree classifier on the MNIST training images and

In R, using the MNIST dataset (which can be accessed in R with read_mnist()), implement a decision tree classifier on the MNIST training images and labels (N = 60000) and validate it in order to tune your model using the MNIST testing images and labels (N=10000).

Print the Confusion Matrix of your predicted vs true labels and print the accuracy of predicting your label, as a percentage.

Step by Step Solution

3.46 Rating (146 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

R librarytidyverse ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!