BaşlayınÜcretsiz başlayın

Fit the model and evaluate

Now that you've defined a new model, fit it to the regular season basketball data.

Use the model you fit in the previous exercise (which was trained on the regular season data) and evaluate the model on data for tournament games (games_tourney).

Bu egzersiz, kursun bir parçasıdır

Advanced Deep Learning with Keras

Kursa Göz Atın

Egzersiz talimatları

  • Fit the model to the games_season dataset, using 'team_1', 'team_2' and 'home' columns as inputs, and the 'score_diff' column as the target.
  • Fit the model using 1 epoch, 10% validation split and a batch size of 2048.
  • Evaluate the model on games_tourney, using the same inputs and outputs.

Uygulamalı etkileşimli egzersiz

Bu egzersizi bu örnek kodu tamamlayarak deneyin.

# Fit the model to the games_season dataset
____([____, ____, ____],
          ____,
          epochs=____,
          verbose=____,
          validation_split=____,
          batch_size=____)

# Evaluate the model on the games_tourney dataset
print(____.____(____, ____, verbose=False))
Kodu Düzenle ve Çalıştır