2.6 Summarize history for accuracy

In [13]:
plt.plot(results.history['acc'])
plt.plot(results.history['val_acc'])
plt.title('model accuracy')
plt.ylabel('accuracy')
plt.xlabel('epoch')
plt.legend(['train', 'test'], loc='down right')
Out[13]:
<matplotlib.legend.Legend at 0x22f7656de48>