python - AttributeError: 'History' object has no attribute ...
stackoverflow.com › questions › 60405492Feb 26, 2020 · Running this gives AttributeError: 'History' object has no attribute 'predict_classes' I know my model history is being stored as I can generate graphs of my models performance by running: # Plot model accuracy plt.subplot(2, 1, 1) plt.plot(ch_model.history['accuracy']) plt.plot(ch_model.history['val_accuracy']) plt.title('Model accuracy') plt.ylabel('Accuracy') plt.xlabel('Epoch') plt.show()