Get startedGet started for free

Inspect the model (I)

Now that you've fit your model, let's take a look at it. You can use the .get_weights() method to inspect your model's weights.

The input layer will have 4 weights: 2 for each input times 2 for each output.

The output layer will have 2 weights, one for each output.

This exercise is part of the course

Advanced Deep Learning with Keras

View Course

Exercise instructions

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

Hands-on interactive exercise

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

# Print the model's weights
print(____)

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