Created
April 25, 2019 05:36
-
-
Save this-is-richard/3d94d06c4000b5187ecce69ad7fcd4d2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| model = models.Sequential() | |
| model.add(layers.Dense(32, activation='relu', input_shape=(num_input_features,))) | |
| model.add(layers.Dense(32, activation='relu')) | |
| model.add(layers.Dense(num_classes, activation='softmax')) | |
| model.compile(optimizer='rmsprop', loss='categorical_crossentropy') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment