in R,
USE THE MNIST.CSV Train and evaluate the code from MNIST dataset. a. Train 2 models, one on the train_0_1(ONLY 0,1) set and another on train_3_5(ONLY 3,5), and report the training and test accuracies.
b. Repeat 3a 10 times, i.e. you should obtain 10 train and test accuracies for each set. Calculate the average train and test accuracies over the 10 runs, and report them.
c. For 0,1 and 3,5 cases, explain if you observe any difference you in accuracy. Also, explain why do you think this difference might be.
d. This assignment deals with binary classification. Explain what you would do if you had more than two classes to classify, using logistic regression.