Question: r code below You have developed a decision tree model myDT using rpart, and then want to compute the confusion matrix on the testdata, Icdfist;

r code below

You have developed a decision tree model myDT using rpart, and then want to compute the confusion matrix on the testdata, Icdfist; the dependent variable is loan_status. Complete the blank in the R code below: #get the predicted class predTst=predict( myDT, Icdfist, type = 'class') table(predictedClass = predTrn, actualClass =
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
