plt.figure(1) plt.subplot(211) plt.plot(history.history[\'accuracy\']) plt.plot(history.history[\'val_accuracy\']) plt.title(\'Model accuracy\') plt.ylabel(\'