Get startedGet started for free

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".

This exercise is part of the course

Advanced Deep Learning with Keras

View Course

Exercise instructions

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

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Evaluate the model on new data
print(____(games_tourney_test[['____', '____']],
               [games_tourney_test[['____']], games_tourney_test[['____']]], verbose=False))
Edit and Run Code