НачатьНачать бесплатно

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:

Это упражнение является частью курса

Introduction to Deep Learning with Keras

Посмотреть курс

Интерактивное практическое упражнение

Попробуйте выполнить это упражнение, дополнив этот пример кода.

# 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()
Редактировать и запускать код