© 2019 TWILIO INC. ALL RIGHTS RESERVED.
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
Intro to Text
Classification with
TensorFlow
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
☎Twilio devangelist
😍 ML🤖, APIs
󰜺JS, 🐍
❤ 󰣖, 🎾, 󰝋
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
…
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
AI/ML/DL
Some vocabulary
Neural networks
Text Classification 101
Use cases
Performing ML-based
text classification
TensorFlow
Sentiment Analysis w/ TF
Agenda
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
SECTION TITLE
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
AI 101
🎓
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
AI
ML
DL
AI, ML, DL, WTF?
CV NLP
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
Natural Language Processing: AI
for Words/Language
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
Some ML Vocabulary
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
Weak AI
- machine simulates thinking, human
behavior
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
Strong AI or Artificial General
Intelligence (AGI)
- machine reproduces a human behavior,
thinking
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
ML Model
Program that can find patterns or make
decisions from a previously unseen dataset
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
Neural Networks
Mimicking neurons in the human brain,
NNs are a set of algorithms that work to
recognize connections in a dataset
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
Types of Neural Networks
🧠
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
Convolutional Neural Network
(CNN)
• classify images, video, text
• fixed-size input + output
• translational invariance
• more powerful
• output = a class the data belongs in
• input = the data itself
•
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
Recurrent Neural Network (RNN)
• best suited for tasks that require
prediction of the next data
• arbitrary-sized input + output
•
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
Long Short-Term Memory networks
(LSTM)
• classify text, speech
• arbitrary-sized input + output
•
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
Text Classification
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
What is Text Classification?
- intelligent categorization of text, based on
sentiment.
- organize, structure, categorize pretty
much any kind of text – from documents,
medical studies and files, and all over the
web.
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
Input (text):
I love Disney!
Text
classification
model
Output (tags)
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
Types of Data?
📀
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
Characteristics
- predefined data models
- easy to search
- text-based
- shows what
Lives in:
- relational DBs, data warehouses
Stored in:
- rows, columns
-
Structured Data Unstructured Data
Characteristics
- no predefined data models
- tough to search
- text, PDF, images, video
- shows why
Lives in:
- apps, data warehouses/lakes
Stored in:
- various forms
-
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
Classifier Model
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
Why is text classification important?
- make most of unstructured data
- save time
- make informed decisions
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
Use Cases
🕵
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
Sentiment Analysis
The
product
has been
fantastic!
The
experience
is alright, I
guess
Your
support
team
SUCKS
Positive Neutral Negative
�� �� ��
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
Types of Sentiment Analysis
• Polarity of text
Positive
Negative
Neutral
��
��
��
⚠
! ⚠
��
��
• Specific feelings, emotions
• Urgency
• Intention
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
• Organize articles by topics
• Support 🎫 by urgency, language
• Chat conversations by language
• Brand mentions by sentiment
• Email messages
• Spam filtering
• Prioritizing
• Folderizing
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
Algorithms to perform ML-based Text
Classification
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
Naive Bayes
Classification
Algorithm(s)
every pair of features
being classified is
independent of each
other
naive = doesn't consider
correlation between features,
assumes they are independent of
each other
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
Naive Bayes
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
Naive Bayes
Multinomial
- discrete data Gaussian
- continuous data
Bernoulli
- binary or boolean values
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
TensorFlow
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
- OS library released by Google Brain in
2015
- Image classification, NLP, generate
music, etc.
- Python, JS, Swift, C, etc.
- TF Lite for IoT devices
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
TensorFlow for sentiment analysis
overview
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
��
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
TensorFlow for Sentiment Analysis:
Metadata
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
Loves Me, Loves me Not: Classify
Texts with TensorFlow and Twilio
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
Helper libraries for text
classification with TensorFlow
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
Prepare training data
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
Stemming vs Lemmatization
adjustable -> adjust. was -> (to) be
formality -> formaliti better -> good
airliner-> airlin. meeting -> meeting
Stemming Lemmatization
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
Stem🌷 words with TensorFlow
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
Handle👋
contractions
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
Read📖 training data
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
json_data returned ��
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
Remove duplicates via stemming
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
Bag-of-words NLP model
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
Process the numpy array with TF
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
3-layer Neural network
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
Deep Neural Network (DNN)
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
Text📲 +1(863)591-4513
Thank you!
@lizziepika
/elizabethsiegle
https://twil.io/orlandotf
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
https://qph.cf2.quoracdn.net/main-qimg-cd7f4baf
aa42639deb999b1580bea69f
https://lumiere-a.akamaihd.net/v1/images/open-
uri20150422-20810-1fndzcd_41017374.jpeg
https://hips.hearstapps.com/hmg-prod/images/d
og-puppy-on-garden-royalty-free-image-15869661
91.jpg?crop=0.752xw:1.00xh;0.175xw,0&resize=120
0:*
http://www.alleycat.org/wp-content/uploads/201
9/03/FELV-cat.jpg
https://is2-ssl.mzstatic.com/image/thumb/Purple
116/v4/f2/40/36/f2403689-7bb0-08dc-d480-e2a2
4e9b52c3/AppIcon-0-1x_U007emarketing-0-6-0-
sRGB-85-220.png/1200x630wa.png
https://cdn-icons-png.flaticon.com/512/3721/3721
901.png
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
Use only one slide for each quote.
Putting too many quotes on a single
slide will make it less impactful.
Insert Name Here
Insert Title Here
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
X
DEVELOPERS
X
BUSINESSES
X
COUNTRIES
HEADLINE
This is where you could write a brief description on what this section is
about and how it is relevant to your presentation.
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
Enter your statement in this box.
It can be multiple lines.
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
Enter your subject title in this box
This is where you could write a brief description on what this section
is about and how it is relevant to your presentation.
Subhead Title
Lorem ipsum dolor sit amet, consectetur adipisicing
elit, sed do eiusmod tempor incididunt ut labore et
dolore magna.
Lorem ipsum dolor sit amet, consectetur adip-isicing
elit, sed do eiusmod tempor incididunt ut labore et
dolore magna.
Subhead Title
Lorem ipsum dolor sit amet, consectetur adipisicing
elit, sed do eiusmod tempor incididunt ut labore et
dolore magna.
Lorem ipsum dolor sit amet, consectetur adip-isicing
elit, sed do eiusmod tempor incididunt ut labore et
dolore magna.
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
Enter your subject title in this box
Subhead Title
Lorem ipsum dolor
sit amet, consectetur
adipisicing elit, sed
do eiusmod.
Lorem ipsum dolor
sit amet, consectetur
adip-isicing elit, sed
do eiusmod.
01 Subhead Title
Lorem ipsum dolor
sit amet, consectetur
adipisicing elit, sed
do eiusmod.
Lorem ipsum dolor
sit amet, consectetur
adip-isicing elit, sed
do eiusmod.
02 Subhead Title
Lorem ipsum dolor
sit amet, consectetur
adipisicing elit, sed
do eiusmod.
Lorem ipsum dolor
sit amet, consectetur
adip-isicing elit, sed
do eiusmod.
03
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
This is where you could write a brief description on what this section
is about and how it is relevant to your presentation.
Subhead Title
Lorem ipsum dolor sit amet, consectetur adipisicing
elit, sed do eiusmod tempor incididunt ut labore et
dolore magna.
Lorem ipsum dolor sit amet, consectetur adip-isicing
elit, sed do eiusmod tempor incididunt ut labore et
dolore magna.
Lorem ipsum dolor sit amet, consectetur adip-isicing
elit, sed do eiusmod tempor incididunt ut labore et
dolore magna.
Subhead Title
Lorem ipsum dolor sit amet, consectetur adipisicing
elit, sed do eiusmod tempor incididunt ut labore et
dolore magna.
Lorem ipsum dolor sit amet, consectetur adip-isicing
elit, sed do eiusmod tempor incididunt ut labore et
dolore magna.
Lorem ipsum dolor sit amet, consectetur adip-isicing
elit, sed do eiusmod tempor incididunt ut labore et
dolore magna.
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
Enter your subject
title in this box
• Use this space to enter bullets
pertaining to this topic
• Keep in mind to be brief and not
get too text heavy
• Simple, key points work best!
Subhead Title
Lorem ipsum dolor sit amet, consectetur adipisicing
elit, sed do eiusmod tempor incididunt ut labore et
dolore magna.
Subhead Title
Lorem ipsum dolor sit amet, consectetur adipisicing
elit, sed do eiusmod tempor incididunt ut labore et
dolore magna.
Subhead Title
Lorem ipsum dolor sit amet, consectetur adipisicing
elit, sed do eiusmod tempor incididunt ut labore et
dolore magna.
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
Product
diagram example
• Replace the diagram on the right
with the one specific to the Product.
• Use this space to enter brief bullet
points, describing the diagram and
features.
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
Enter your subject title in this box
• Use this space to enter bullets pertaining to this topic
• Keep in mind to be brief and not get too text heavy
• Simple, key points work best!
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
Enter your subject title in this box
This is where you could write a brief description on what this
section is about and how it is relevant to your presentation.
Subhead Title
Lorem ipsum dolor sit amet,
consectetur adipisicing elit, sed
do eiusmod tempor incididunt
ut labore et dolore magna.
Lorem ipsum dolor sit amet,
consectetur adip-isicing elit.
Subhead Title
Lorem ipsum dolor sit amet,
consectetur adipisicing elit, sed
do eiusmod tempor incididunt
ut labore et dolore magna.
Lorem ipsum dolor sit amet,
consectetur adip-isicing elit.
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
Subhead Title
Lorem ipsum dolor sit amet,
consectetur adipisicing elit,
sed do eiusmod tempor.
• Use this space to enter bullets
pertaining to this topic
• Keep in mind to be brief and not
get too text heavy
• Simple, key points work best!
Enter your subject
title in this box
Subhead Title
Lorem ipsum dolor sit amet,
consectetur adipisicing elit,
sed do eiusmod tempor.
Subhead Title
Lorem ipsum dolor sit amet,
consectetur adipisicing elit,
sed do eiusmod tempor.
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
Right click on phone screen image and
select replace image.
HEADLINE
10x
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
Right click on image to right and
replace image.
HEADLINE
10x
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
1. Content pointing to highlight 1
2. Content pointing to highlight 2
3. Content pointing to highlight 3
Enter your subject
title in this box
1
2
3
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
• Use this space to enter bullets
pertaining to this topic
• Keep in mind to be brief and not
get too text heavy
• Simple, key points work best!
Enter your subject
title in this box
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
This is where you could write
a brief description on what this
section is about and how it is
relevant to your presentation.
CUSTOMER STORY
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
CUSTOMER STORY
Use only one slide for each
quote. Putting too many
quotes on a single slide will
make it less impactful.
The Brand Team | Twilio
This is where you could write
a brief description on what this
section is about and how it is
relevant to your presentation.
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
NEXT STEPS
1
Brief description
of step one
Brief description
of step two
2
Brief description
of step three
3
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
This is where you could write a brief description on what this
section is about and how it is relevant to your presentation.
Lorem ipsum dolor sit amet,
consectetur adipisicing.
Lorem ipsum dolor sit amet,
consectetur adipisicing.
DECEMBER 2018 JANUARY 2019 FEBRUARY 2019 APRIL 2019
Lorem ipsum dolor sit amet,
consectetur adipisicing.
Lorem ipsum dolor sit amet,
consectetur adipisicing.
Lorem ipsum dolor sit amet,
consectetur adipisicing.
Lorem ipsum dolor sit amet,
consectetur adipisicing.
Lorem ipsum dolor sit amet,
consectetur adipisicing.
Lorem ipsum dolor sit amet,
consectetur adipisicing.
PRODUCT RELEASE TIMELINE
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
Lorem ipsum dolor sit amet.
DECEMBER 2018
Lorem ipsum dolor sit amet.
JANUARY 2019
Lorem ipsum dolor sit amet.
FEBRUARY 2019
Lorem ipsum dolor sit amet.
MARCH 2019
Lorem ipsum dolor sit amet.
APRIL 2019
Product
release timeline
This is where you could write a brief
description on what this section is
about and how it is relevant to
your presentation.
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
STATS AND FIGURES
INCREASE IN
DESCRIPTION HERE
55%
Lorem ipsum dolor sit
amet, consectetur
adipisicing.
Lorem ipsum dolor sit
amet, consectetur
adipisicing.
INCREASE IN
DESCRIPTION HERE
Lorem ipsum dolor sit
amet, consectetur
adipisicing.
Lorem ipsum dolor sit
amet, consectetur
adipisicing.
DECREASE IN
DESCRIPTION HERE
Lorem ipsum dolor sit
amet, consectetur
adipisicing.
Lorem ipsum dolor sit
amet, consectetur
adipisicing.
65%
95%
This is where you could write
a brief description on what
this section is about and
how it is relevant to your
presentation.
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
WORLD MAP
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
VIRGINIA, USA
DUBLIN, IRELAND
SINGAPORE
SYDNEY, AUSTRALIA
TOKYO, JAPAN
SAO PAULO, BRAZIL
DATA CENTERS
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
OUR CUSTOMERS
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
OUR EMEA CUSTOMERS
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
OUR APAC CUSTOMERS
Enter title of
this section
Right click each image and select
replace image.
This is also where you could
write a brief description on
what this section is about
and how it is relevant to
your presentation.
80%
of the human brain is
made up of water.
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
This is where you could write a brief description
on what this section is about.
Sean McBride
CREATIVE DIRECTOR
Paul Bustamante
SR. VISUAL DESIGNER
Nathan Sharp
SR. VISUAL DESIGNER
Edmund Boey
VISUAL DESIGNER
DEPARTMENT TITLE
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
GRAPH/CHART TITLE HERE
This is where you could write a brief description
on what this section is about.
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
GRAPH/CHART TITLE HERE
This is where you could write a brief description
on what this section is about.
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
GRAPH/CHART TITLE HERE
This is where you could write a brief description
on what this section is about.
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
GRAPH/CHART TITLE HERE
This is where you could write a brief description
on what this section is about.
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
ICONS
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
ICONS (CONTINUED)
© 2019 TWILIO INC. ALL RIGHTS RESERVED.
SOCIAL ICONS
THANK YOU

Intro to Text Classification with TensorFlow

  • 1.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED.
  • 2.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. Intro to Text Classification with TensorFlow © 2019 TWILIO INC. ALL RIGHTS RESERVED.
  • 3.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. ☎Twilio devangelist 😍 ML🤖, APIs 󰜺JS, 🐍 ❤ 󰣖, 🎾, 󰝋 © 2019 TWILIO INC. ALL RIGHTS RESERVED. …
  • 4.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. AI/ML/DL Some vocabulary Neural networks Text Classification 101 Use cases Performing ML-based text classification TensorFlow Sentiment Analysis w/ TF Agenda
  • 5.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. SECTION TITLE
  • 6.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. AI 101 🎓
  • 7.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. AI ML DL AI, ML, DL, WTF? CV NLP
  • 8.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. Natural Language Processing: AI for Words/Language
  • 9.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. Some ML Vocabulary
  • 10.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. Weak AI - machine simulates thinking, human behavior
  • 11.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. Strong AI or Artificial General Intelligence (AGI) - machine reproduces a human behavior, thinking
  • 12.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED.
  • 13.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED.
  • 14.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. ML Model Program that can find patterns or make decisions from a previously unseen dataset
  • 15.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. Neural Networks Mimicking neurons in the human brain, NNs are a set of algorithms that work to recognize connections in a dataset
  • 16.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. Types of Neural Networks 🧠
  • 17.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. Convolutional Neural Network (CNN) • classify images, video, text • fixed-size input + output • translational invariance • more powerful • output = a class the data belongs in • input = the data itself •
  • 18.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. Recurrent Neural Network (RNN) • best suited for tasks that require prediction of the next data • arbitrary-sized input + output •
  • 19.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. Long Short-Term Memory networks (LSTM) • classify text, speech • arbitrary-sized input + output •
  • 20.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. Text Classification
  • 21.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. What is Text Classification? - intelligent categorization of text, based on sentiment. - organize, structure, categorize pretty much any kind of text – from documents, medical studies and files, and all over the web.
  • 22.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. Input (text): I love Disney! Text classification model Output (tags)
  • 23.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED.
  • 24.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. Types of Data? 📀
  • 25.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. Characteristics - predefined data models - easy to search - text-based - shows what Lives in: - relational DBs, data warehouses Stored in: - rows, columns - Structured Data Unstructured Data Characteristics - no predefined data models - tough to search - text, PDF, images, video - shows why Lives in: - apps, data warehouses/lakes Stored in: - various forms -
  • 26.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. Classifier Model
  • 27.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. Why is text classification important? - make most of unstructured data - save time - make informed decisions
  • 28.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. Use Cases 🕵
  • 29.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. Sentiment Analysis The product has been fantastic! The experience is alright, I guess Your support team SUCKS Positive Neutral Negative �� �� ��
  • 30.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. Types of Sentiment Analysis • Polarity of text Positive Negative Neutral �� �� �� ⚠ ! ⚠ �� �� • Specific feelings, emotions • Urgency • Intention
  • 31.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. • Organize articles by topics • Support 🎫 by urgency, language • Chat conversations by language • Brand mentions by sentiment • Email messages • Spam filtering • Prioritizing • Folderizing
  • 32.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. Algorithms to perform ML-based Text Classification
  • 33.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. Naive Bayes Classification Algorithm(s) every pair of features being classified is independent of each other naive = doesn't consider correlation between features, assumes they are independent of each other
  • 34.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. Naive Bayes
  • 35.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED.
  • 36.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. Naive Bayes Multinomial - discrete data Gaussian - continuous data Bernoulli - binary or boolean values
  • 37.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. TensorFlow
  • 38.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. - OS library released by Google Brain in 2015 - Image classification, NLP, generate music, etc. - Python, JS, Swift, C, etc. - TF Lite for IoT devices
  • 39.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. TensorFlow for sentiment analysis overview
  • 40.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. ��
  • 41.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. TensorFlow for Sentiment Analysis: Metadata
  • 42.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. Loves Me, Loves me Not: Classify Texts with TensorFlow and Twilio
  • 43.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED.
  • 44.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. Helper libraries for text classification with TensorFlow
  • 45.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. Prepare training data
  • 46.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED.
  • 47.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. Stemming vs Lemmatization adjustable -> adjust. was -> (to) be formality -> formaliti better -> good airliner-> airlin. meeting -> meeting Stemming Lemmatization
  • 48.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. Stem🌷 words with TensorFlow
  • 49.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. Handle👋 contractions
  • 50.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. Read📖 training data
  • 51.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. json_data returned ��
  • 52.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. Remove duplicates via stemming
  • 53.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. Bag-of-words NLP model
  • 54.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED.
  • 55.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. Process the numpy array with TF
  • 56.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. 3-layer Neural network
  • 57.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. Deep Neural Network (DNN)
  • 58.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED.
  • 59.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED.
  • 60.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. Text📲 +1(863)591-4513
  • 61.
  • 62.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. https://qph.cf2.quoracdn.net/main-qimg-cd7f4baf aa42639deb999b1580bea69f https://lumiere-a.akamaihd.net/v1/images/open- uri20150422-20810-1fndzcd_41017374.jpeg https://hips.hearstapps.com/hmg-prod/images/d og-puppy-on-garden-royalty-free-image-15869661 91.jpg?crop=0.752xw:1.00xh;0.175xw,0&resize=120 0:* http://www.alleycat.org/wp-content/uploads/201 9/03/FELV-cat.jpg https://is2-ssl.mzstatic.com/image/thumb/Purple 116/v4/f2/40/36/f2403689-7bb0-08dc-d480-e2a2 4e9b52c3/AppIcon-0-1x_U007emarketing-0-6-0- sRGB-85-220.png/1200x630wa.png https://cdn-icons-png.flaticon.com/512/3721/3721 901.png
  • 63.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. Use only one slide for each quote. Putting too many quotes on a single slide will make it less impactful. Insert Name Here Insert Title Here
  • 64.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. X DEVELOPERS X BUSINESSES X COUNTRIES HEADLINE This is where you could write a brief description on what this section is about and how it is relevant to your presentation.
  • 65.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. Enter your statement in this box. It can be multiple lines.
  • 66.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. Enter your subject title in this box This is where you could write a brief description on what this section is about and how it is relevant to your presentation. Subhead Title Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna. Lorem ipsum dolor sit amet, consectetur adip-isicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna. Subhead Title Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna. Lorem ipsum dolor sit amet, consectetur adip-isicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna.
  • 67.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. Enter your subject title in this box Subhead Title Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod. Lorem ipsum dolor sit amet, consectetur adip-isicing elit, sed do eiusmod. 01 Subhead Title Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod. Lorem ipsum dolor sit amet, consectetur adip-isicing elit, sed do eiusmod. 02 Subhead Title Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod. Lorem ipsum dolor sit amet, consectetur adip-isicing elit, sed do eiusmod. 03
  • 68.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. This is where you could write a brief description on what this section is about and how it is relevant to your presentation. Subhead Title Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna. Lorem ipsum dolor sit amet, consectetur adip-isicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna. Lorem ipsum dolor sit amet, consectetur adip-isicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna. Subhead Title Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna. Lorem ipsum dolor sit amet, consectetur adip-isicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna. Lorem ipsum dolor sit amet, consectetur adip-isicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna.
  • 69.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. Enter your subject title in this box • Use this space to enter bullets pertaining to this topic • Keep in mind to be brief and not get too text heavy • Simple, key points work best! Subhead Title Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna. Subhead Title Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna. Subhead Title Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna.
  • 70.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. Product diagram example • Replace the diagram on the right with the one specific to the Product. • Use this space to enter brief bullet points, describing the diagram and features.
  • 71.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. Enter your subject title in this box • Use this space to enter bullets pertaining to this topic • Keep in mind to be brief and not get too text heavy • Simple, key points work best!
  • 72.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. Enter your subject title in this box This is where you could write a brief description on what this section is about and how it is relevant to your presentation. Subhead Title Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna. Lorem ipsum dolor sit amet, consectetur adip-isicing elit. Subhead Title Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna. Lorem ipsum dolor sit amet, consectetur adip-isicing elit.
  • 73.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. Subhead Title Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor. • Use this space to enter bullets pertaining to this topic • Keep in mind to be brief and not get too text heavy • Simple, key points work best! Enter your subject title in this box Subhead Title Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor. Subhead Title Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor.
  • 74.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. Right click on phone screen image and select replace image. HEADLINE 10x
  • 75.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. Right click on image to right and replace image. HEADLINE 10x
  • 76.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. 1. Content pointing to highlight 1 2. Content pointing to highlight 2 3. Content pointing to highlight 3 Enter your subject title in this box 1 2 3
  • 77.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. • Use this space to enter bullets pertaining to this topic • Keep in mind to be brief and not get too text heavy • Simple, key points work best! Enter your subject title in this box
  • 78.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. This is where you could write a brief description on what this section is about and how it is relevant to your presentation. CUSTOMER STORY
  • 79.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. CUSTOMER STORY Use only one slide for each quote. Putting too many quotes on a single slide will make it less impactful. The Brand Team | Twilio This is where you could write a brief description on what this section is about and how it is relevant to your presentation.
  • 80.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. NEXT STEPS 1 Brief description of step one Brief description of step two 2 Brief description of step three 3
  • 81.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. This is where you could write a brief description on what this section is about and how it is relevant to your presentation. Lorem ipsum dolor sit amet, consectetur adipisicing. Lorem ipsum dolor sit amet, consectetur adipisicing. DECEMBER 2018 JANUARY 2019 FEBRUARY 2019 APRIL 2019 Lorem ipsum dolor sit amet, consectetur adipisicing. Lorem ipsum dolor sit amet, consectetur adipisicing. Lorem ipsum dolor sit amet, consectetur adipisicing. Lorem ipsum dolor sit amet, consectetur adipisicing. Lorem ipsum dolor sit amet, consectetur adipisicing. Lorem ipsum dolor sit amet, consectetur adipisicing. PRODUCT RELEASE TIMELINE
  • 82.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. Lorem ipsum dolor sit amet. DECEMBER 2018 Lorem ipsum dolor sit amet. JANUARY 2019 Lorem ipsum dolor sit amet. FEBRUARY 2019 Lorem ipsum dolor sit amet. MARCH 2019 Lorem ipsum dolor sit amet. APRIL 2019 Product release timeline This is where you could write a brief description on what this section is about and how it is relevant to your presentation.
  • 83.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. STATS AND FIGURES INCREASE IN DESCRIPTION HERE 55% Lorem ipsum dolor sit amet, consectetur adipisicing. Lorem ipsum dolor sit amet, consectetur adipisicing. INCREASE IN DESCRIPTION HERE Lorem ipsum dolor sit amet, consectetur adipisicing. Lorem ipsum dolor sit amet, consectetur adipisicing. DECREASE IN DESCRIPTION HERE Lorem ipsum dolor sit amet, consectetur adipisicing. Lorem ipsum dolor sit amet, consectetur adipisicing. 65% 95% This is where you could write a brief description on what this section is about and how it is relevant to your presentation.
  • 84.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. WORLD MAP
  • 85.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. VIRGINIA, USA DUBLIN, IRELAND SINGAPORE SYDNEY, AUSTRALIA TOKYO, JAPAN SAO PAULO, BRAZIL DATA CENTERS
  • 86.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. OUR CUSTOMERS
  • 87.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. OUR EMEA CUSTOMERS
  • 88.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. OUR APAC CUSTOMERS
  • 89.
    Enter title of thissection Right click each image and select replace image. This is also where you could write a brief description on what this section is about and how it is relevant to your presentation.
  • 91.
    80% of the humanbrain is made up of water.
  • 95.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. This is where you could write a brief description on what this section is about. Sean McBride CREATIVE DIRECTOR Paul Bustamante SR. VISUAL DESIGNER Nathan Sharp SR. VISUAL DESIGNER Edmund Boey VISUAL DESIGNER DEPARTMENT TITLE
  • 96.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. GRAPH/CHART TITLE HERE This is where you could write a brief description on what this section is about.
  • 97.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. GRAPH/CHART TITLE HERE This is where you could write a brief description on what this section is about.
  • 98.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. GRAPH/CHART TITLE HERE This is where you could write a brief description on what this section is about.
  • 99.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. GRAPH/CHART TITLE HERE This is where you could write a brief description on what this section is about.
  • 100.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. ICONS
  • 101.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. ICONS (CONTINUED)
  • 102.
    © 2019 TWILIOINC. ALL RIGHTS RESERVED. SOCIAL ICONS
  • 103.