Question: 1 Most Likely Digits ( 2 0 Points ) In this problem, I want you to compare two networks: the no - hidden - layer
Most Likely Digits Points
In this problem, I want you to compare two networks: the nohiddenlayer MNIST model, and the best model you found from Problem in the previous assignment. Specifically, for a model that gives classification probabilities for each digit, I want you to find the images dots, Note, I am not looking for the images in the data sets with largest probabilities: instead, I want you to solve the input over the entire input space that maximizes the probability of being classified in a certain way, for each digit.
Hints:
How can you formulate this as a minimization problem? What would the variables be and what would the loss function be
Note: Regularization may be useful here.
It may be useful to note that an arbitrary real number infinity to infinity can be turned into a value between and by applying the sigmoid function.
Formulate how to solve the problem for the optimal digit images. points
Find and display the ten optimal images for the no hidden layer network. points
Find and display the ten optimal images for the optimal network. points
What do the images suggest about what the two networks are looking for, in terms of features? Any similarities or differences? points
Bonus points: How should you decide when to stop training? What does overfittingover training mean here?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
