Background: [code] Do an analysis of the results based on this question: We want you to…
- User
Background:
codeFor hyperparameter tuning, I decided to test the effect of changing 5 hyperparameters on the performance of the model - the number of epochs, the learning rate, the optimization algorithm, the batch size and the neural network architechture. In all cases I was trying to improve the performance of the model | Index | Hyperparameter changed | num_epochs | learning_rate | optimizer | batch_size | NN architechture | First Epoch Loss | Final Epoch Loss | Test Accuracy | |-------|------------------------|------------|---------------|-----------|------------|-----------------------|------------------|------------------|---------------| | 1 | num_epochs | 50 | 0.001 | Adam | 16 | 7 x 64 x 32 | 24.3667 | 12.8571 | 80.42% | | 2 | learning_rate | 20 | 0.002 | Adam | 16 | 7 x 64 x 32 | 22.7669 | 13.6006 | 79.72% | | 3 | optimizer | 20 | 0.001 | SGD | 16 | 7 x 64 x 32 | 24.2575 | 23.5124 | 55.94% | | 4 | batch_size | 20 | 0.001 | Adam | 64 | 7 x 64 x 32 | 6.0168 | 3.8213 | 79.02% | | 5 | NN architechture | 20 | 0.001 | Adam | 16 | 7 x 64 x 32 x 64 x 32 | 24.2596 | 13.0948 | 81.82% |Do an analysis of the results based on this question: We want you to experiment with different setting for training such as the learning rate, using a different optimizer, and using different MLP architecture. Report how you went about hyper-paramater tuning and provide the code with comments. Then provide a table with settings that you experimented with. The table should present 5 different setting with which you trained the architecture. Finally, write up a brief analysis on your findings.
- Assistant