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!
Questo esercizio fa parte del corso
Introduction to Deep Learning with Keras
Istruzioni dell'esercizio
- Instantiate a
Sequentialmodel. - Build the input and hidden layer.
- Add the output layer.
Esercizio pratico interattivo
Prova a risolvere questo esercizio completando il codice di esempio.
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.____