Question: This exercise will guide you through the process of creating a Neural Network using Pytorch for data about a car market. You can use much
This exercise will guide you through the process of creating a Neural Network using Pytorch for data about a car
market. You can use much of the code from the class lecture on PyTorch. For this problem, you need to
understand and study the model covered in the class.
Read the data
You will do this problem in a Jupyter Notebook and submit a Jupyter Notebook file, Problemipynb
You have been given the data carscsv
You have been given the file Problemipyb
If necessary, run the KernelRestart Kernel and Clear All Outputs command.
Build a Model
Create a NN model
a There should be three hidden layers
b The outer layer h should have neurons
c The middle layer h should have neurons
d The last layer should h should have neurons
e They should be fully connected
f You can select any activation function
g The input feature layer size depends on the number of features you will
select from the data after corelation analysis
h The output layer depends on the number of classes in your data
Clean and prepare the data training and testing
Clean the data. You will be building a NN to classify a car for carbody Convertable
hatchback,sedan
Determine the corelation of features with respect to the carbody
Select the top five features to represent a car objectdata
Train and slit the data for training and testing
Select a loss function
Select an optimizer
Select epochs min
Training and test data
Test the model and print the loss performance
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
