SLIDE 1
>>> from computational_linguistics import cl >>> - - PowerPoint PPT Presentation
>>> from computational_linguistics import cl >>> - - PowerPoint PPT Presentation
>>> from computational_linguistics import cl >>> from deep_learning import dl >>> import healthcare as mom_connect >>> dl(cl(mom_connect)) increased access Distribution of Answers in
SLIDE 2
SLIDE 3
SLIDE 4
SLIDE 5
SLIDE 6
SLIDE 7
Distribution of Answers in Dataset
SLIDE 8
Q: What causes heartburn? A: Hormone progesterone relaxes smooth muscles, thus the valve that separates the gastric acid relaxes, allowing it to go up causing heartburn. Avoid consuming too much spicy, acidic, fizzy, citrus fruits, chocolates, lots of sugar, rich or fried
- r fatty food. Eat small meals slowly, wear loose fitting clothes, and do not sleep
immediately after eating. Drink peppermint tea and Gaviscon. Q: Kungani ngihlale ngigula njalo ekuseni? A: Do you feel like vomiting? Morning sickness or nausea is common in the first 3
- months. It should ease from 4 - 7 months. Avoid food with too much fat and spices.
Eat dry bread or a dry biscuit when you wake up. If you cannot eat, drink lots of water or tea but not alcohol. Adding some ginger, mint or lemon to your tea may help to ease the nausea. Q: What are the signs of labour? A: Signs of labour include a jelly-like discharge, your water breaking, and regular and painful labour contractions. Make sure you can get to a hospital.
SLIDE 9
SLIDE 10
SLIDE 11
SLIDE 12
SLIDE 13
SLIDE 14
Input
32 x 30 x 65000
Batch size: 32 Sequence length: 30 #Features: 65000
LSTM Input
32 x 30 x 100
Embedding layer
(reduce order from 65000 to 100)
512-LSTM
(magic)
Output (predict)
... ... ... ...
Caffeine acts as a diuretic… Go to the clinic straight away if… High blood pressure is dangerous… If your baby has a high temperature...
- No. Your baby needs only breast milk…
Some bleeding after birth is normal...
(softmax)
“Can I give my 2-month old baby formula?” [ [9597], [1053], [44780], [6719], [17946] ]
Clean and transform text to sequence of word IDs