History is not defined

I have great difficulties downloading my history.pkl file, and have no ideas about it? Thanks so much for helping me solve it!!!

Couple of things:

  1. history is returned by the fit method of the model you create. Please ensure that the return value is captured properly.
  2. There is a statement history = which doesn’t make sense since the value is undefined.
  3. You can download the notebook and train locally if the dataset can be downloaded as well. This way, google colab needn’t be used.