freeCodeCamp/curriculum/challenges/english/11-machine-learning-with-py.../tensorflow/neural-networks-creating-a-...

51 lines
624 B
Markdown
Raw Normal View History

---
id: 5e8f2f13c4cdbe86b5c72d95
title: 'Neural Networks: Creating a Model'
challengeType: 11
videoId: K8bz1bmOCTw
dashedName: neural-networks-creating-a-model
---
# --question--
## --text--
Fill in the blanks below to build a sequential model of dense layers:
```py
model = __A__.__B__([
__A__.layers.Flatten(input_shape=(28, 28)),
__A__.layers.__C__(128, activation='relu'),
__A__.layers.__C__(10, activation='softmax')
])
```
## --answers--
A: `keras`
B: `Sequential`
C: `Dense`
---
A: `tf`
B: `Sequential`
C: `Categorical`
---
A: `keras`
B: `sequential`
C: `dense`
## --video-solution--
1