2021-06-15 00:49:18 -07:00
|
|
|
---
|
|
|
|
id: 5e8f2f13c4cdbe86b5c72d9e
|
2021-07-20 21:35:24 +05:30
|
|
|
title: 'Elaborazione del linguaggio naturale con RNN: analisi del sentimento'
|
2021-06-15 00:49:18 -07:00
|
|
|
challengeType: 11
|
|
|
|
videoId: lYeLtu8Nq7c
|
2021-10-03 12:24:27 -07:00
|
|
|
bilibiliIds:
|
|
|
|
aid: 933111408
|
|
|
|
bvid: BV1TM4y137VB
|
|
|
|
cid: 409135996
|
2021-06-15 00:49:18 -07:00
|
|
|
dashedName: natural-language-processing-with-rnns-sentiment-analysis
|
|
|
|
---
|
|
|
|
|
|
|
|
# --question--
|
|
|
|
|
|
|
|
## --text--
|
|
|
|
|
2021-07-20 21:35:24 +05:30
|
|
|
Compila gli spazi vuoti qui sotto per creare il modello per la RNN:
|
2021-06-15 00:49:18 -07:00
|
|
|
|
|
|
|
```py
|
|
|
|
model = __A__.keras.Sequential([
|
|
|
|
__A__.keras.layers.__B__(88584, 32),
|
|
|
|
__A__.keras.layers.__C__(32),
|
2022-01-17 01:00:34 +05:30
|
|
|
__A__.keras.layers.Dense(1, activation='sigmoid')
|
2021-06-15 00:49:18 -07:00
|
|
|
])
|
|
|
|
```
|
|
|
|
|
|
|
|
## --answers--
|
|
|
|
|
|
|
|
A: `tensor_flow`
|
|
|
|
|
|
|
|
B: `embedding`
|
|
|
|
|
|
|
|
C: `LSTM`
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
A: `tf`
|
|
|
|
|
|
|
|
B: `Embedding`
|
|
|
|
|
|
|
|
C: `AlphaDropout`
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
A: `tf`
|
|
|
|
|
|
|
|
B: `Embedding`
|
|
|
|
|
|
|
|
C: `LSTM`
|
|
|
|
|
|
|
|
## --video-solution--
|
|
|
|
|
|
|
|
3
|
|
|
|
|