Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

FILE: credit _ data.xlsX Create a Regression Decision Tree to predict the Numeric target variable Age Use the first 8 0 0 records for the

FILE: credit_data.xlsX
Create a Regression Decision Tree to predict the Numeric target variable Age
Use the first 800 records for the training data, and the last 200 records for the evaluation data, as shown below:
trainingData - credit_data[c(1:800),]
evaluationData - credit_data[c(801:1000),]
Review the R Code Essential Steps for a Numeric (Regression) decision tree from question #2 above.
Modify the code as necessary to do the following:
// Create the decision tree model from the credit_data trainingData
// Use the decision tree model to make predictions about the credit_data evaluationData
// Statistically evaluate how "close" the model's numeric predictions are to the actual credit_data evaluationData
Use the accuracy() function when you statistically evaluate how close the 200 predicted Age values were to the 200 actual Age
values. The Accuracy command will display a number of values as shown below. The RMSE value is NOT shown below.
MAE
MPE
MAPE
Test set 1.20918
8.926563-4.48621,24.56025
What is the RMSE value?
Include 2 decimal places in your answer.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Spomenik Monument Database

Authors: Donald Niebyl, FUEL, Damon Murray, Stephen Sorrell

1st Edition

0995745536, 978-0995745537

More Books

Students also viewed these Databases questions

Question

5. Develop a strong introduction, a crucial part of all speeches

Answered: 1 week ago