MulaiMulai sekarang secara 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".

Latihan ini adalah bagian dari kursus

Advanced Deep Learning with Keras

Lihat Kursus

Petunjuk latihan

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

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# Evaluate the model on new data
print(____(games_tourney_test[['____', '____']],
               [games_tourney_test[['____']], games_tourney_test[['____']]], verbose=False))
Edit dan Jalankan Kode