Get startedGet started for free

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.

This exercise is part of the course

Advanced Deep Learning with Keras

View Course

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Print the model weights
print(____)

# Print the training data means
print(____)
Edit and Run Code