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.
Questo esercizio fa parte del corso
Advanced Deep Learning with Keras
Istruzioni dell'esercizio
- Assign the
'team_1'and'team_2'columns fromgames_tourneytoinput_1andinput_2, respectively. - Evaluate the model.
Esercizio pratico interattivo
Prova a risolvere questo esercizio completando il codice di esempio.
# 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))