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

52 lines
759 B
Markdown
Raw Normal View History

---
id: 5e8f2f13c4cdbe86b5c72d95
title: 'Neural Networks: Creating a Model'
challengeType: 11
videoId: K8bz1bmOCTw
---
## Description
<section id='description'>
</section>
## Tests
<section id='tests'>
```yml
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`
solution: 1
```
</section>