IniziaInizia gratis

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.

Questo esercizio fa parte del corso

Advanced Deep Learning with Keras

Visualizza il corso

Esercizio pratico interattivo

Prova a risolvere questo esercizio completando il codice di esempio.

# Print the model weights
print(____)

# Print the training data means
print(____)
Modifica ed esegui il codice