Aan de slagGa gratis aan de slag

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

Deze oefening maakt deel uit van de cursus

Advanced Deep Learning with Keras

Cursus bekijken

Oefeninstructies

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

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

# Evaluate the model on new data
print(____(games_tourney_test[['____', '____']],
               [games_tourney_test[['____']], games_tourney_test[['____']]], verbose=False))
Code bewerken en uitvoeren