LoslegenKostenlos loslegen

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:

Diese Übung ist Teil des Kurses

Introduction to Deep Learning with Keras

Kurs anzeigen

Interaktive Übung

Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.

# 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()
Code bearbeiten und ausführen