Exercise

Fit the model to the regular season training data

Now that you've defined a complete team strength model, you can fit it to the basketball data! Since your model has two inputs now, you need to pass the input data as a list.

Instructions

100 XP
  • Assign the 'team_1' and 'team_2' columns from games_season to input_1 and input_2, respectively.
  • Use 'score_diff' column from games_season as the target.
  • Fit the model using 1 epoch, a batch size of 2048, and a 10% validation split.