mrdbourke / tensorflow-deep-learning

All course materials for the Zero to Mastery Deep Learning with TensorFlow course.
https://dbourke.link/ZTMTFcourse
MIT License
5.14k stars 2.53k forks source link

Error in number of epochs in notebook tensorflow-deep-learning/01_neural_network_regression_in_tensorflow.ipynb #469

Open jhchang opened 1 year ago

jhchang commented 1 year ago

Under the markdown that has the text "Let's train the same model as above for a little longer. We can do this but calling fit on it again."

The number of epochs should be 200 not 100

# Try training for a little longer (100 more epochs) history_2 = insurance_model_2.fit(X_train, y_train, epochs=100, verbose=0)

should be changed to this:

# Try training for a little longer (100 more epochs) history_2 = insurance_model_2.fit(X_train, y_train, epochs=200, verbose=0)