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

Fit the model

Now that you've enriched the tournament dataset and built a model to make use of the new data, fit that model to the tournament data.

Note that this model has only one input layer that is capable of handling all 3 inputs, so it's inputs and outputs do not need to be a list.

Tournament games are split into a training set and a test set. The tournament games before 2010 are in the training set, and the ones after 2010 are in the test set.

Bu egzersiz

Advanced Deep Learning with Keras

kursunun bir parçasıdır
Kursu Görüntüle

Egzersiz talimatları

  • Fit the model to the games_tourney_train dataset using 1 epoch.
  • The input columns are 'home', 'seed_diff', and 'pred'.
  • The target column is 'score_diff'.

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Fit the model
____(____[['____', '____', '____']],
          ____['____'],
          epochs=____,
          verbose=True)
Kodu Düzenle ve Çalıştır