Question: FILE: credit_data.xlsx Create a Regression Decision Tree to predict Age Use the first 800 records for the training data, and the last 200 records for
FILE: credit_data.xlsx 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 (0(1:800),1 evaluationData [0(01:1000),1 Use the rpart function to create a decision tree with Ase as the dependent (or outrome) variable. The decision tree should be created using the training data, and the deckion tree should be sived as AgeModel HaNT: You should have a line of R code that bejin woth 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
