Mulai sekarangMulai gratis

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.

Latihan ini merupakan bagian dari kursus

Advanced Deep Learning with Keras

Lihat Kursus

Instruksi latihan

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

Latihan interaktif langsung praktik

Cobalah latihan ini dengan melengkapi kode contoh ini.

# 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))
Edit dan Jalankan Kode