Question: Implementation 3 ) In another notebook, using the architecture you built in implementation 2 and the best performing activation function, re - train the model

Implementation 3) In another notebook, using the architecture you built in implementation 2 and the best performing activation function, re-train the model by adding 2 new parameters, learning rate and momentum. The range of the values you should try (between 5 and 10 trials) is:
Learning rate: 01
Momentum: 01
Print on the code, for each combination, the corresponding accuracy. What are the optimum learning rate and momentum values?
Example of the output:
Best performing activation function: ReLu
Trial 1: Learning Rate =0.5796, Momentum =0.9178, Accuracy =0.6316
Trial 2: Learning Rate =0.6370, Momentum =0.1148, Accuracy =0.6316
Trial 3: Learning Rate =0.1863, Momentum =0.5109, Accuracy =0.6316
Trial 4: Learning Rate =0.1431, Momentum =0.7752, Accuracy =0.9649
Trial 5: Learning Rate =0.3938, Momentum =0.4581, Accuracy =0.6316
Trial 6: Learning Rate =0.6761, Momentum =0.2949, Accuracy =0.6316
Trial 7: Learning Rate =0.1724, Momentum =0.0836, Accuracy =0.6316
Trial 8: Learning Rate =0.6177, Momentum =0.8061, Accuracy =0.6316
Trial 9: Learning Rate =0.5382, Momentum =0.3641, Accuracy =0.6316
Trial 10: Learning Rate =0.6640, Momentum =0.4447, Accuracy =0.6316
Implementation 3 ) In another notebook, using the

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 Programming Questions!