Exercise

Inspect the model (II)

Now you should take a look at the weights for this model. In particular, note the last weight of the model. This weight converts the predicted score difference to a predicted win probability. If you multiply the predicted score difference by the last weight of the model and then apply the sigmoid function, you get the win probability of the game.

Instructions 1/2

undefined XP
    1
    2
  • Print the model's weights.
  • Print the column means of the training data (games_tourney_train).