Skip to content

Commit

Permalink
Update Part 2 - Introduction to Neural Networks with TensorFlow.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ajstensland authored Apr 2, 2019
1 parent 632fd6e commit fd9abce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Part 2 - Introduction to Neural Networks with TensorFlow.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ model.compile(optimizer='adam',
# Fit the model to the training set. Epochs is the number of times we fit the neural network to the
# training set.
# Be careful of adding too many epochs, however! Overfitting can be just as bad as underfitting.
model.fit(x_train, y_train, epochs=5)
model.fit(X_train, Y_train, epochs=5)

# Evaluate the accuracy of the neural network and print it out
test_loss, test_acc = model.evaluate(x_test, y_test)
test_loss, test_acc = model.evaluate(X_test, Y_test)

print(train_acc)
print(test_acc)
Expand Down

0 comments on commit fd9abce

Please sign in to comment.