SlideShare a Scribd company logo
Monitoring social media the
“smart” way.
SETTING UP A MACHINE
LEARNING PLATFORM
TODAY’S EXAMPLES
● “Classic” learning — Social media monitor
○ 10xnation.com/social-customer-care-amazon-machine-learning
● “Deep” learning — Extending the social monitor
○ 10xnation.com/social-customer-care-ibm-watson
● Gathering data — Website traffic
○ https://10xnation.com/wordpress-analytics
“CLASSIC” LEARNING
Example #2: A social media monitor
using Amazon Machine Learning
THE PROBLEM
Too many social media posts to track and read.
Many of our customers/prospects are feeling
neglected because we don’t have the resources to
read and respond to all of them.
Need a way to filter them down to only the ones
where the sender is expecting a response.
THE QUESTION
Is this tweet actionable?
DETERMINING THE ANSWER
Is the sender…
● Making a request
● Asking a question
● Reporting a problem
● Angry or Unhappy
● None of the above
Actionable?
Yes (1)
Yes (1)
Yes (1)
Yes (1)
No (0)
THE SOLUTION
Use Amazon Machine Learning to analyze a Twitter
stream in real-time and make a determination about
whether or not a tweet requires a response.
(binary classification: yes or no)
Then route the positives to a customer service agent.
Based on: github.com/awslabs/machine-learning-samples/tree/master/social-media
Speech
to Text
Sentiment
Analysis
Actionable
Analysis
Customer
Support
PREDICTIVE ENGAGEMENT
Customer
support call
recordings
Convert audio
into text
Analyze for
mood keywords
Determine if
response is required
Reach out to
customer/prospect
Blog & community comments
Social media mentions
Press & blog coverage
Customer support chat
Product reviews
Inbound emails
BREAK IT DOWN
Twitter
API
Mechanical
Turk
Amazon
Kinesis
Amazon
Machine
Learning
Amazon
Lamda
Model
Amazon
SNS
Customer
Service
Labels training data
Responds to tweets
Forwards “actionable”
tweets to support team
Captures Twitter stream
Relays tweets between
Kinesis, ML & SNS
Classifies tweets as
“actionable” or not
END RESULT
Your staff doesn’t have to read each tweet, and
your customers feel appreciated and happy.
THE FEATURES
created_at_in_seconds
description
favorite_count
favorited
favourites_count
followers_count
friends_count
geo_enabled
in_reply_to_screen_name
in_reply_to_status_id
in_reply_to_user_id
location
r.created_at_in_seconds
r.description
r.favorite_count
r.favorited
r.favourites_count
r.followers_count
r.friends_count
r.geo_enabled
r.in_reply_to_screen_name
r.in_reply_to_status_id
r.in_reply_to_user_id
r.location
r.retweet_count
r.screen_name
r.sid
r.statuses_count
r.text
r.time_zone
r.uid
r.user.name
r.utc_offset
r.verified
retweet_count
screen_name
sid
statuses_count
text
time_zone
uid
user.name
utc_offset
verified
trainingLabel
TRAINING DATA
docs.google.com/spreadsheets/d/1Vgo67s8swCeE9_1G9uXOxiRY0l4OJrwFSn4XXpXilMI/edit
Warning: Live social media content.
10xnation.com/social-customer-care-amazon-machine-learning
STEP BY STEP GUIDE
● Step 1: Requirements
● Step 2: Gather training data
● Step 3: Prepare raw tweets for labeling
● Step 4: Submit job to Mechanical Turk
● Step 5: Format labeled data
● Step 9: Upload training data to S3
● Step 7: Generate the Model
● Step 8: Configure Machine Learning
● Step 9: Configure Kinesis
● Step 10: Configure IAM
● Step 11: Configure SNS
● Step 12: Configure Lambda
● Step 13: Configure Twitter
● Step 14: Fire it up
“DEEP” LEARNING
Example #2: A social media monitor
using IBM Watson
EXTENDING THE SOCIAL MONITOR
Let’s make our new social media monitor even better…
● Wrap a UI around it
● Pre-populate a tweet response
● Categorizes topic of each tweet
● Determine sentiment of each tweet
● Provide insight into personality of sender
THE SOLUTION
Use IBM Watson to analyze a Twitter stream in
real-time and determine…
● Sentiment
● If response required
● Type of response required
Based on: github.com/watson-developer-cloud/social-customer-care
Speech
to Text
Sentiment
Analysis
Actionable
Analysis
Customer
Support
PREDICTIVE ENGAGEMENT
Customer
support call
recordings
Convert audio
into text
Analyze for
mood keywords
Determine if
response is required
Reach out to
customer/prospect
Blog & community comments
Social media mentions
Press & blog coverage
Customer support chat
Product reviews
Inbound emails
Twitter
API
Alchemy
API
Responds to tweets
Customer
Service
User
Interface
Model
Personality
Insights
Tone
Analyzer
Natural
Language
Classifier
Analyzes sender’s prior
tweets to estimate their
personality
Sentiment analysis of
tweet stream
Classify topics in tweet stream
Analyzes sender’s prior
tweets to determine
common topics
END RESULT
A “smart” application that streamlines your customer
service processes on Twitter.
TRAINING DATA
docs.google.com/spreadsheets/d/1daGb3Kai1gN9WUgnfFnzmwavnmCaKdvdgaj2fhlvYe0/edit
Warning: Live social media content.
STEP BY STEP GUIDE
10xnation.com/social-customer-care-ibm-watson
● Step 1: Requirements
● Step 2: Configure Natural Language Classifier
● Step 3: Configure Alchemy Language
● Step 4: Configure Personality Insights
● Step 5: Configure Tone Analyzer
● Step 6: Configure Twitter
● Step 7: Train the Natural Language Classifier
● Step 8: Create the application
● Step 9: Fire it up
ENDLESS POSSIBILITIES
● Give customer service agents a way to provide
feedback on the system’s accuracy
● Capture the agent’s feedback and tweet responses
● Use new data to further refine prediction accuracy
● Automate more and more as system gets “smarter”
GATHERING DATA
Example #3: Capturing website traffic
data using WordPress
THE PROBLEM
To make accurate predictions and insights, we need
data. The more, the better.
But most of us don’t have much data today.
THE QUESTION
How can we gather more data from our website,
so we can better understand our visitors
— and predict their behavior.
THE SOLUTION
We’ll use WordPress for this example.
And we’ll capture as much data from it as we can.
STEP BY STEP GUIDE
10xnation.com/wordpress-analytics
● Step 1: Webserver Data
● Step 2: PHP Data
● Step 3: WordPress Data
● Step 4: Browsing Data
THOUGHTS?
Hurdles looking easier to navigate?
UNLEASH YOUR BUSINESS
EMBRACE EXPONENTIAL
10xnation.com

More Related Content

PDF
Demystifying Machine Learning - How to give your business superpowers.
PDF
Setting Up a Machine Learning Platform
PDF
Incorporating Clicks, Attention and Satisfaction into a SERP Evaluation Model
PDF
How to train your product owner
PDF
Slay the Dragons of Agile Measurement
PDF
Go or No-Go: Operability and Contingency Planning at Etsy.com
PPTX
Inspire Staff to Tech Greatness
PDF
A.I. in the Enterprise: Predictive Engagement
Demystifying Machine Learning - How to give your business superpowers.
Setting Up a Machine Learning Platform
Incorporating Clicks, Attention and Satisfaction into a SERP Evaluation Model
How to train your product owner
Slay the Dragons of Agile Measurement
Go or No-Go: Operability and Contingency Planning at Etsy.com
Inspire Staff to Tech Greatness
A.I. in the Enterprise: Predictive Engagement

Similar to Setting up a Machine Learning Platform - Monitoring social media the “smart” way (20)

PDF
How to Effectively Build a Martech Stack & Integrate Your Marketing Tools
PPTX
Without Change, There Would Be No Butterflies: Creating an End User Adoption ...
PPTX
Wordpress beirut 22th meetup april
PDF
How to Build Legendary Customer Relationships With Artificial Intelligence
PDF
Best practices for getting started and driving adoption with tableau
PDF
Optimizing Websites for Great User Experiences and Increased Conversions
PDF
Building Innovative Products with Agile
PDF
Social Media #ProTips with Salesforce
PPTX
Salesforce Miami User Group Event - 1st Quarter 2024
PDF
conduct an seo audit
PDF
Solution Design - The Hidden Side of UX (for Product Managers)
PDF
Solution Design - The Hidden Side of UX (for Product Managers)
PDF
IRJET- Fake Review Detection using Opinion Mining
PDF
How to Use Data to Inform Your Design and Drive Your Business
PPT
Process roadmap for lead management
PDF
Somnath Resume
PDF
Online SEO Meetup
PDF
2020 Updated Microsoft MB-200 Questions and Answers
PDF
Understanding, Creating and Scaling Content in 2025 - Dave Rohrer, NorthSide ...
DOCX
Deepak_Raghav Resume done
How to Effectively Build a Martech Stack & Integrate Your Marketing Tools
Without Change, There Would Be No Butterflies: Creating an End User Adoption ...
Wordpress beirut 22th meetup april
How to Build Legendary Customer Relationships With Artificial Intelligence
Best practices for getting started and driving adoption with tableau
Optimizing Websites for Great User Experiences and Increased Conversions
Building Innovative Products with Agile
Social Media #ProTips with Salesforce
Salesforce Miami User Group Event - 1st Quarter 2024
conduct an seo audit
Solution Design - The Hidden Side of UX (for Product Managers)
Solution Design - The Hidden Side of UX (for Product Managers)
IRJET- Fake Review Detection using Opinion Mining
How to Use Data to Inform Your Design and Drive Your Business
Process roadmap for lead management
Somnath Resume
Online SEO Meetup
2020 Updated Microsoft MB-200 Questions and Answers
Understanding, Creating and Scaling Content in 2025 - Dave Rohrer, NorthSide ...
Deepak_Raghav Resume done
Ad

More from 10x Nation (14)

PDF
A.I. in Business- 10 ‘Real World’ Lessons Learned
PDF
10 Things Every Entrepreneur Needs to Know About Artificial Intelligence
PDF
10 Things Every PHP Developer Should Know About Machine Learning
PDF
Why Your Business Should Avoid Ownership
PDF
Entering a World Where We Don't Drive
PDF
The Landscape of Exponential Change - Exploring the Technologies that are Tra...
PDF
The 10x Effect - Unlocking the Business Transforming Secrets of Exponenital
PDF
Building a "Smart" Customer Research Engine
PDF
Building an Image Recognition Service - How to leverage IBM Watson for visual...
PDF
Expertise on Demand - How machine learning puts the best-of-the-best at your ...
PDF
Perfect Information - How IoT empowers you to know anything, anytime, anywhere
PDF
Setting up a Machine Learning Platform
PDF
How Machine Learning Works for Business
PDF
How the Internet of Things (IoT) Works for Business
A.I. in Business- 10 ‘Real World’ Lessons Learned
10 Things Every Entrepreneur Needs to Know About Artificial Intelligence
10 Things Every PHP Developer Should Know About Machine Learning
Why Your Business Should Avoid Ownership
Entering a World Where We Don't Drive
The Landscape of Exponential Change - Exploring the Technologies that are Tra...
The 10x Effect - Unlocking the Business Transforming Secrets of Exponenital
Building a "Smart" Customer Research Engine
Building an Image Recognition Service - How to leverage IBM Watson for visual...
Expertise on Demand - How machine learning puts the best-of-the-best at your ...
Perfect Information - How IoT empowers you to know anything, anytime, anywhere
Setting up a Machine Learning Platform
How Machine Learning Works for Business
How the Internet of Things (IoT) Works for Business
Ad

Recently uploaded (20)

PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
Cloud computing and distributed systems.
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Empathic Computing: Creating Shared Understanding
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPT
Teaching material agriculture food technology
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
Building Integrated photovoltaic BIPV_UPV.pdf
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Encapsulation_ Review paper, used for researhc scholars
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
MYSQL Presentation for SQL database connectivity
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Cloud computing and distributed systems.
Diabetes mellitus diagnosis method based random forest with bat algorithm
Empathic Computing: Creating Shared Understanding
Understanding_Digital_Forensics_Presentation.pptx
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
NewMind AI Weekly Chronicles - August'25 Week I
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Teaching material agriculture food technology
Network Security Unit 5.pdf for BCA BBA.
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
20250228 LYD VKU AI Blended-Learning.pptx
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Digital-Transformation-Roadmap-for-Companies.pptx

Setting up a Machine Learning Platform - Monitoring social media the “smart” way