Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started