BaşlayınÜcretsiz başlayın

Evaluate the model on the tournament test data

The model you fit to the regular season data (model) in the previous exercise and the tournament dataset (games_tourney) are available in your workspace.

In this exercise, you will evaluate the model on this new dataset. This evaluation will tell you how well you can predict the tournament games, based on a model trained with the regular season data. This is interesting because many teams play each other in the tournament that did not play in the regular season, so this is a very good check that your model is not overfitting.

Bu egzersiz, kursun bir parçasıdır

Advanced Deep Learning with Keras

Kursa Göz Atın

Egzersiz talimatları

  • Assign the 'team_1' and 'team_2' columns from games_tourney to input_1 and input_2, respectively.
  • Evaluate the model.

Uygulamalı etkileşimli egzersiz

Bu egzersizi bu örnek kodu tamamlayarak deneyin.

# Get team_1 from the tournament data
input_1 = games_tourney[____]

# Get team_2 from the tournament data
input_2 = games_tourney[____]

# Evaluate the model using these inputs
print(____([____, ____], games_tourney[____], verbose=False))
Kodu Düzenle ve Çalıştır