Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Step 1 : COVID - 1 9 code We use the COVID - 1 9 prediction code that we discussed in class ( covid 1

Step 1: COVID-19 code
We use the COVID-19 prediction code that we discussed in class (covid19ClassExample_MLPRegress.py).
Use only US, Spain, Italy, and Canada for test.
Use 5-fold cross validation for validation purposes on the training dataset
Using the 5-fold cross validation compare the following problem settings:
S1: Two hidden layers with 15 neurons in each layer (current setting)
S2: Two hidden layers with 10 neurons in each layer
S3: Two hidden layers with 10 neurons in the first layer and 15 neurons in the second layer
S4: Two hidden layers with 15 neurons in the first layer and 10 neurons in the second layer
S5: Three hidden layers with 15 neurons in each layer
S6: Three hidden layers with 10 neurons in each layer
S7: One hidden layer with 10 neurons
S8: One hidden layer with 15 neurons
Compare the above settings using the score (R2) metric and select the best setting
Use the neural network with the best setting to predict the new cases of COVID-19 for US, Spain, Italy, and Canada. Measure their performance in terms of average absolute error. Draw a bar chart to compare the corresponding errors.
Report all the performances of cross validation in a proper table.

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

Larry Ellison Database Genius Of Oracle

Authors: Craig Peters

1st Edition

0766019748, 978-0766019744

More Books

Students also viewed these Databases questions