Skip to content

Commit

Permalink
Update sequential-model-guide.md (keras-team#3257)
Browse files Browse the repository at this point in the history
  • Loading branch information
kli-casia authored and fchollet committed Jul 19, 2016
1 parent 7a56925 commit f502ee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/templates/getting-started/sequential-model-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ Keras models are trained on Numpy arrays of input data and labels. For training
# for a single-input model with 2 classes (binary):

model = Sequential()
model.add(Dense(1, input_dim=784, activation='softmax'))
model.add(Dense(1, input_dim=784, activation='sigmoid'))
model.compile(optimizer='rmsprop',
loss='binary_crossentropy',
metrics=['accuracy'])
Expand Down

0 comments on commit f502ee2

Please sign in to comment.