Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create perceptron_mnist_keras.py #170

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

MCSH
Copy link

@MCSH MCSH commented Oct 2, 2019

Description

This adds a new script that classifies mnist using keras.

Type of change

Please delete options that are not relevant.

  • New Script
  • New feature (non-breaking change which adds functionality)

Comment on lines +44 to +52
model = Sequential()
model.add(Dense(1024, input_shape=(784,)))
model.add(Activation('relu'))
model.add(Dropout(0.2))
model.add(Dense(512))
model.add(Activation('relu'))
model.add(Dropout(0.2))
model.add(Dense(10))
model.add(Activation('softmax'))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

explain these lines with help of comments , that is which activation you are using and why, how many hidden layers etc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants