Get startedGet started for free

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!

This exercise is part of the course

Introduction to Deep Learning with Keras

View Course

Exercise instructions

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

Hands-on interactive exercise

Have a go at this exercise by completing this sample 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.____
Edit and Run Code