Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Use r studio for this question and present the code and results with the corresponding question. data set data set: https://drive.google.com/file/d/1kNDzawK606UOPFnS5uEojKMwXP6MddtG/view?usp=sharing Car Sales. Consider the

Use r studio for this question and present the code and results with the corresponding question.

data set data set: https://drive.google.com/file/d/1kNDzawK606UOPFnS5uEojKMwXP6MddtG/view?usp=sharing

Car Sales. Consider the data on used cars (ToyotaCorolla.csv) with 1436 records and details on 38 attributes, including Price, Age, KM, HP, and other specifications. The goal is to predict the price of a used Toyota Corolla based on its specifications. a. Fit a neural network model to the data. Use a single hidden layer with 2 nodes. Use predictors Age_08_04, KM, Fuel_Type, HP, Automatic, Doors, Quarterly_Tax, Mfr_Guarantee, Guarantee_Period, Airco, Automatic_airco, CD_Player, Powered_Windows, Sport_Model, and Tow_Bar. Remember to first scale the numerical predictor and outcome variables to a 0-1 scale (use function preprocess() with method = "range"see Chapter 7) and convert categorical predictors to dummies. b. Record the RMS error for the training data and the validation data. Repeat the process, changing the number of hidden layers and nodes to {single layer with 5 nodes}, {two layers, 5 nodes in each layer}. i. What happens to the RMS error for the training data as the number of layers and nodes increases? ii. What happens to the RMS error for the validation data? iii. Comment on the appropriate number of layers and nodes for this application.

tis the complete question

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

Mathematics For The Liberal Arts

Authors: Donald Bindner, Martin J Erickson, Joe Hemmeter

1st Edition

1118371747, 9781118371749

More Books

Students also viewed these Mathematics questions

Question

4. What means will you use to achieve these values?

Answered: 1 week ago