model.fit(X_train, y_train, batch_size=mini_batch_size, epochs=nb_epochs, validation_data=(X_test, y_test)) plt.title(\'Accuracy\') plt.plot(model[\'accuracy\'], la