IniziaInizia gratis

Evaluate on new data with two metrics

Now that you've fit your model and inspected its weights to make sure they make sense, evaluate your model on the tournament test set to see how well it does on new data.

Note that in this case, Keras will return 3 numbers: the first number will be the sum of both the loss functions, and then the next 2 numbers will be the loss functions you used when defining the model.

Ready to take your deep learning to the next level? Check out "Convolutional Neural Networks for Image Processing".

Questo esercizio fa parte del corso

Advanced Deep Learning with Keras

Visualizza il corso

Istruzioni dell'esercizio

  • Evaluate the model on games_tourney_test.
  • Use the same inputs and outputs as the training set.

Esercizio pratico interattivo

Prova a risolvere questo esercizio completando il codice di esempio.

# Evaluate the model on new data
print(____(games_tourney_test[['____', '____']],
               [games_tourney_test[['____']], games_tourney_test[['____']]], verbose=False))
Modifica ed esegui il codice