Question: Create a Regression Decision Tree to predict Age Use the first 800 records for the training data, and the last 200 records for the evaluation
Create a Regression Decision Tree to predict Age Use the first 800 records for the training data, and the last 200 records for the evaluation data, as shown below: trainingData
Create a Regression Decision Tree to predict Age Use the first 800 records for the training data, and the last 200 records for the evaluation data, as shown below: trainingData [c(1;800), evaluationData [c(801:1000), Use the rpart function to create a decision tree with Age as the dependent (or cutcome) variable. The decision tree should be created using the training data, and the decision tree should be saved as AgeModel HiNT: You should have a line of R code that begn's with: AgeMode1
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
