this is python programming, can you guys add comments in every line so I can understand it. 2 Question 2 Given the MNIST handwritten digits dataset, implement the following networks and report the results of the test accuracy via screenshot. Make sure to provide necessary comments on your code. (a) Implement the following deep learning architecture and evaluate its test accuracy. network models.Sequential() network.add(layers.Dense (128, activation='sigmoid')) network.add(layers.Dense (10, activation='sigmoid')) network.compile (optimizer='sgd',loss='mse',metrics=['accuracy']) network.fit (X_train,y_train, epochs-20, batch_size=16) (b) Given that you are able to change the number of layers, number of neurons, activaiton functions, and the optimizer. Design your own architecture, provide your models code, and a screenshot of the highest test accuracy of your model. activation: ['sigmoid', 'tanh', 'relu'] optimzer ['sgd', 'RMSprop', 'Adam'] (c) Provide a high-level description of your model and include screenshot of your best network's wrong predicitons.
this is python programming, can you guys add comments in every line so I can understand it. 2 Question 2 Given the MNIST handwritten digits dataset, implement the following networks and report the results of the test accuracy via screenshot. Make sure to provide necessary comments on your code. (a) Implement the following deep learning architecture and evaluate its test accuracy. network models.Sequential() network.add(layers.Dense (128, activation='sigmoid')) network.add(layers.Dense (10, activation='sigmoid')) network.compile (optimizer='sgd',loss='mse',metrics=['accuracy']) network.fit (X_train,y_train, epochs-20, batch_size=16) (b) Given that you are able to change the number of layers, number of neurons, activaiton functions, and the optimizer. Design your own architecture, provide your models code, and a screenshot of the highest test accuracy of your model. activation: ['sigmoid', 'tanh', 'relu'] optimzer ['sgd', 'RMSprop', 'Adam'] (c) Provide a high-level description of your model and include screenshot of your best network's wrong predicitons.
Principles of Information Systems (MindTap Course List)
12th Edition
ISBN:9781285867168
Author:Ralph Stair, George Reynolds
Publisher:Ralph Stair, George Reynolds
Chapter5: Database Systems And Applications
Section: Chapter Questions
Problem 20SAT
Related questions
Question
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 4 steps with 2 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
Principles of Information Systems (MindTap Course…
Computer Science
ISBN:
9781285867168
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
Principles of Information Systems (MindTap Course…
Computer Science
ISBN:
9781285867168
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning