CommencerCommencer gratuitement

Build as shown!

You will take on a final challenge before moving on to the next lesson. Build the network shown in the picture below. Prove your mastered Keras basics in no time!

Cet exercice fait partie du cours

Introduction to Deep Learning with Keras

Afficher le cours

Instructions

  • Instantiate a Sequential model.
  • Build the input and hidden layer.
  • Add the output layer.

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

from tensorflow.keras.models import Sequential
from tensorflow.keras.layers import Dense

# Instantiate a Sequential model
model = ____

# Build the input and hidden layer
model.____

# Add the ouput layer
model.____
Modifier et exécuter le code