Counting parameters
You've just created a neural network. But you're going to create a new one now, taking some time to think about the weights of each layer. The Keras Dense
layer and the Sequential
model are already loaded for you to use.
This is the network you will be creating:

This exercise is part of the course
Introduction to Deep Learning with Keras
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Instantiate a new Sequential model
model = ____
# Add a Dense layer with five neurons and three inputs
model.add(____(____, input_shape=____, activation="relu"))
# Add a final Dense layer with one neuron and no activation
model.____
# Summarize your model
model.summary()