Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Use RSTUDIO AND PRESENTES CODES AND RESULTS. DATA SET https://drive.google.com/file/d/1kNDzawK606UOPFnS5uEojKMwXP6MddtG/view?usp=sharing 11.3 Car Sales. Consider the data on used cars (ToyotaCorolla.csv) with 1436 records and details

Use RSTUDIO AND PRESENTES CODES AND RESULTS. DATA SET https://drive.google.com/file/d/1kNDzawK606UOPFnS5uEojKMwXP6MddtG/view?usp=sharing

11.3 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.

1. 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. 2. 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}.

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

Introduction To Corporate Finance

Authors: Laurence Booth, Sean Cleary

3rd Edition

978-1118300763, 1118300769

Students also viewed these Mathematics questions