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:

Cet exercice fait partie du cours
Introduction to Deep Learning with Keras
Exercice interactif pratique
Essayez cet exercice en complétant cet exemple de 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()