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.
Deze oefening maakt deel uit van de cursus
Advanced Deep Learning with Keras
Oefeninstructies
- Assign the
'team_1'and'team_2'columns fromgames_tourneytoinput_1andinput_2, respectively. - Evaluate the model.
Praktische interactieve oefening
Probeer deze oefening eens door deze voorbeeldcode in te vullen.
# 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))