jeffheaton / t81_558_deep_learning

T81-558: Keras - Applications of Deep Neural Networks @Washington University in St. Louis
https://sites.wustl.edu/jeffheaton/t81-558/
Other
5.71k stars 3.04k forks source link

[correction] t81_558_class_03_2_keras.ipynb #79

Closed gpk2000 closed 4 years ago

gpk2000 commented 4 years ago

In this code below you forgot to add f at the beginning of the second string image

It should be

# Sample predictions
for i in range(10):
    print(f"{i+1}. Car name: {cars[i]}, MPG: {y[i]}, " 
          + f"predicted MPG: {pred[i]}")

Notice the f before predicted.

jeffheaton commented 4 years ago

You are right! Thanks.