Question: 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!