2021-06-15 07:49:18 +00:00
|
|
|
---
|
|
|
|
id: 5e8f2f13c4cdbe86b5c72d9e
|
2021-07-22 16:01:38 +00:00
|
|
|
title: 'Processamento de linguagem natural com RNNs: Análise de sentimentos'
|
2021-06-15 07:49:18 +00:00
|
|
|
challengeType: 11
|
|
|
|
videoId: lYeLtu8Nq7c
|
2021-10-03 19:24:27 +00:00
|
|
|
bilibiliIds:
|
|
|
|
aid: 933111408
|
|
|
|
bvid: BV1TM4y137VB
|
|
|
|
cid: 409135996
|
2021-06-15 07:49:18 +00:00
|
|
|
dashedName: natural-language-processing-with-rnns-sentiment-analysis
|
|
|
|
---
|
|
|
|
|
|
|
|
# --question--
|
|
|
|
|
|
|
|
## --text--
|
|
|
|
|
2021-07-22 16:01:38 +00:00
|
|
|
Preencha as lacunas abaixo para criar o modelo para a RNN:
|
2021-06-15 07:49:18 +00:00
|
|
|
|
|
|
|
```py
|
|
|
|
model = __A__.keras.Sequential([
|
|
|
|
__A__.keras.layers.__B__(88584, 32),
|
|
|
|
__A__.keras.layers.__C__(32),
|
2022-01-16 19:30:34 +00:00
|
|
|
__A__.keras.layers.Dense(1, activation='sigmoid')
|
2021-06-15 07:49:18 +00:00
|
|
|
])
|
|
|
|
```
|
|
|
|
|
|
|
|
## --answers--
|
|
|
|
|
|
|
|
A: `tensor_flow`
|
|
|
|
|
|
|
|
B: `embedding`
|
|
|
|
|
|
|
|
C: `LSTM`
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
A: `tf`
|
|
|
|
|
|
|
|
B: `Embedding`
|
|
|
|
|
|
|
|
C: `AlphaDropout`
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
A: `tf`
|
|
|
|
|
|
|
|
B: `Embedding`
|
|
|
|
|
|
|
|
C: `LSTM`
|
|
|
|
|
|
|
|
## --video-solution--
|
|
|
|
|
|
|
|
3
|
|
|
|
|