Fit a model with two outputs
Now that you've defined your 2-output model, fit it to the tournament data. I've split the data into games_tourney_train and games_tourney_test, so use the training set to fit for now.
This model will use the pre-tournament seeds, as well as your pre-tournament predictions from the regular season model you built previously in this course.
As a reminder, this model will predict the scores of both teams.
Deze oefening maakt deel uit van de cursus
Advanced Deep Learning with Keras
Oefeninstructies
- Fit the model to the
games_tourney_traindataset using 100 epochs and a batch size of 16384. - The input columns are
'seed_diff', and'pred'. - The target columns are
'score_1'and'score_2'.
Praktische interactieve oefening
Probeer deze oefening eens door deze voorbeeldcode in te vullen.
# Fit the model
____(games_tourney_train[['____', '____']],
games_tourney_train[['____', '____']],
verbose=True,
____,
____)