Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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