Question: Suppose that the target variable in a classification problem has four levels and that these levels are denoted as A, B, C, and D. Assume
Suppose that the target variable in a classification problem has four levels and that these levels are denoted as A, B, C, and D. Assume that a model has been fitted to the training data and then applied to an out-of-sample dataset with 1000 observations. Suppose that the predictions are summarized by the confusion matrix shown below. Use this confusion matrix to answer Questions 3 - 8. A B C D A 116 64 21 30 B 4 164 20 24 C 25 47 184 57 D 17 10 28 189 Calculate the model's accuracy on the out-of-sample dataset. Provide your answer as a proportion. In other words, your answer should be between 0 and 1. Provide an exact answer if possible. Otherwise, round your answer to 3 decimal places
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
