Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1.1 Number of parameters Please write the number of nodes (including the input layer), weights and biases in the MLP architecture for classification into the

image text in transcribedimage text in transcribed

1.1 Number of parameters Please write the number of nodes (including the input layer), weights and biases in the MLP architecture for classification into the Table 1 . Note that memory requirement of a model is proportional to the number of nodes and parameters in a model. (Hint: You can get the number of parameters directly from the code!) Table 1: Number of nodes, weights and biases in the MLP model for classification. 1.2 Performance metrics 1. Please train the MLP model for 10 epochs and save the model weights at the end of training into 'model_weights_classification.pth' 2. Please plot loss vs. epoch and accuracy vs. epoch curves for the training and test sets and include in your report. 3. Please write the loss and accuracy values (include 4 decimal points) on the training and test sets at the end of training into the Table 2. Table 2: MLP for classification - loss and accuracy values. 4. Using the trained model, please predict the classes of images in the test dataset and write the predicted classes into 'test_predicted_classification.txt' file. 5. Please plot the confusion matrix for the test set and include in your report. Just needed look like correct I wanna to submit if it will be wrong it's okay just look like Correct way 2.1 Number of parameters Please write the number of nodes (including the input layer), weights and biases in the MLP architecture for regression into the Table 3. Note that memory requirement of a model is proportional to the number of nodes and parameters in a model. (Hint: You can get the number of parameters directly from the code!) Table 3: Number of nodes, weights and biases in the MLP model for regression. 2.2 Performance metrics 1. Please train the MLP model for 100 epochs and save the model weights at the end of training into 'model_weights_regression.pth' 2. Please plot loss vs. epoch curves for the training and test sets and include in your report. 3. Please write the loss values (include 4 decimal points) on the training and test sets at the end of training into the Table 4. Table 4: MLP for regression - loss values. 4. Using the trained model, please predict the values of y for the test dataset and write the predicted values into 'test_predicted_regression.txt' file. 5. Please obtain the scatter plot of y vs. y^ (predicted y ) for the test set and include in your report. Not needed 100% accurate As you can just do it i wanna to submit i will rate your

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

How To Make A Database In Historical Studies

Authors: Tiago Luis Gil

1st Edition

3030782409, 978-3030782405

More Books

Students also viewed these Databases questions

Question

How many peaks appear in the 13C NMR of this compound

Answered: 1 week ago