Skip to content

Instantly share code, notes, and snippets.

@NMZivkovic
Created March 3, 2018 17:09
Show Gist options
  • Save NMZivkovic/fea1439079d4b9571cba4fbf7335a1b4 to your computer and use it in GitHub Desktop.
Save NMZivkovic/fea1439079d4b9571cba4fbf7335a1b4 to your computer and use it in GitHub Desktop.
model.fit(X_train, y_train, batch_size=128, epochs=20, verbose=1, validation_split=0.2)
score = model.evaluate(X_test, y_test, verbose=0)
print('Accuracy:', score[1])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment