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

r code below

using rpart, and then want to compute the confusion matrix on the

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

1 Expert Approved Answer
Step: 1 Unlock 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 Mathematics Questions!