開始使用免費開始

評估模型

你已經把模型擬合在錦標賽的訓練資料上了,現在請在錦標賽的測試資料上評估它。請記得,錦標賽測試資料包含 2010 年之後的比賽。

本練習屬於課程

使用 Keras 的進階深度學習

檢視課程

練習說明

  • games_tourney_test 資料上評估模型。
  • 回想一下,模型的輸入是 'home''seed_diff''prediction' 欄位,目標欄位是 'score_diff'

動手互動練習

試著完成這個範例程式碼,體驗一下這個練習。

# Evaluate the model on the games_tourney_test dataset
print(____(games_tourney_test____,
               games_tourney_test____, verbose=False))
編輯並執行程式碼