Setting up a Machine Learning Platform
-
Upload
10x-nation -
Category
Technology
-
view
122 -
download
1
Transcript of Setting up a Machine Learning Platform
![Page 1: Setting up a Machine Learning Platform](https://reader033.fdocuments.us/reader033/viewer/2022052915/587b64b11a28ab38258b63cd/html5/thumbnails/1.jpg)
Monitoring social media the“smart” way.
SETTING UP A MACHINE LEARNING PLATFORM
![Page 2: Setting up a Machine Learning Platform](https://reader033.fdocuments.us/reader033/viewer/2022052915/587b64b11a28ab38258b63cd/html5/thumbnails/2.jpg)
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
![Page 3: Setting up a Machine Learning Platform](https://reader033.fdocuments.us/reader033/viewer/2022052915/587b64b11a28ab38258b63cd/html5/thumbnails/3.jpg)
“CLASSIC” LEARNING
Example #2: A social media monitor using Amazon Machine Learning
![Page 4: Setting up a Machine Learning Platform](https://reader033.fdocuments.us/reader033/viewer/2022052915/587b64b11a28ab38258b63cd/html5/thumbnails/4.jpg)
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.
![Page 5: Setting up a Machine Learning Platform](https://reader033.fdocuments.us/reader033/viewer/2022052915/587b64b11a28ab38258b63cd/html5/thumbnails/5.jpg)
THE QUESTION
Is this tweet actionable?
![Page 6: Setting up a Machine Learning Platform](https://reader033.fdocuments.us/reader033/viewer/2022052915/587b64b11a28ab38258b63cd/html5/thumbnails/6.jpg)
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)
![Page 7: Setting up a Machine Learning Platform](https://reader033.fdocuments.us/reader033/viewer/2022052915/587b64b11a28ab38258b63cd/html5/thumbnails/7.jpg)
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
![Page 8: Setting up a Machine Learning Platform](https://reader033.fdocuments.us/reader033/viewer/2022052915/587b64b11a28ab38258b63cd/html5/thumbnails/8.jpg)
Speechto Text
Sentiment Analysis
Actionable Analysis
Customer Support
PREDICTIVE ENGAGEMENT
Customer support call recordings
Convert audiointo text
Analyze formood keywords
Determine ifresponse is required
Reach out to customer/prospect
Blog & community comments
Social media mentions
Press & blog coverage
Customer support chat
Product reviews
Inbound emails
![Page 9: Setting up a Machine Learning Platform](https://reader033.fdocuments.us/reader033/viewer/2022052915/587b64b11a28ab38258b63cd/html5/thumbnails/9.jpg)
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
![Page 10: Setting up a Machine Learning Platform](https://reader033.fdocuments.us/reader033/viewer/2022052915/587b64b11a28ab38258b63cd/html5/thumbnails/10.jpg)
END RESULT
Your staff doesn’t have to read each tweet, andyour customers feel appreciated and happy.
![Page 11: Setting up a Machine Learning Platform](https://reader033.fdocuments.us/reader033/viewer/2022052915/587b64b11a28ab38258b63cd/html5/thumbnails/11.jpg)
THE FEATUREScreated_at_in_secondsdescriptionfavorite_countfavoritedfavourites_countfollowers_countfriends_countgeo_enabledin_reply_to_screen_namein_reply_to_status_idin_reply_to_user_idlocationr.created_at_in_secondsr.descriptionr.favorite_count
r.favoritedr.favourites_countr.followers_countr.friends_countr.geo_enabledr.in_reply_to_screen_namer.in_reply_to_status_idr.in_reply_to_user_idr.locationr.retweet_countr.screen_namer.sidr.statuses_countr.textr.time_zone
r.uidr.user.namer.utc_offsetr.verifiedretweet_countscreen_namesidstatuses_counttexttime_zoneuiduser.nameutc_offsetverifiedtrainingLabel
![Page 12: Setting up a Machine Learning Platform](https://reader033.fdocuments.us/reader033/viewer/2022052915/587b64b11a28ab38258b63cd/html5/thumbnails/12.jpg)
TRAINING DATA
docs.google.com/spreadsheets/d/1Vgo67s8swCeE9_1G9uXOxiRY0l4OJrwFSn4XXpXilMI/edit
![Page 13: Setting up a Machine Learning Platform](https://reader033.fdocuments.us/reader033/viewer/2022052915/587b64b11a28ab38258b63cd/html5/thumbnails/13.jpg)
Warning: Live social media content.
![Page 14: Setting up a Machine Learning Platform](https://reader033.fdocuments.us/reader033/viewer/2022052915/587b64b11a28ab38258b63cd/html5/thumbnails/14.jpg)
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
![Page 15: Setting up a Machine Learning Platform](https://reader033.fdocuments.us/reader033/viewer/2022052915/587b64b11a28ab38258b63cd/html5/thumbnails/15.jpg)
“DEEP” LEARNING
Example #2: A social media monitor using IBM Watson
![Page 16: Setting up a Machine Learning Platform](https://reader033.fdocuments.us/reader033/viewer/2022052915/587b64b11a28ab38258b63cd/html5/thumbnails/16.jpg)
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
![Page 17: Setting up a Machine Learning Platform](https://reader033.fdocuments.us/reader033/viewer/2022052915/587b64b11a28ab38258b63cd/html5/thumbnails/17.jpg)
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
![Page 18: Setting up a Machine Learning Platform](https://reader033.fdocuments.us/reader033/viewer/2022052915/587b64b11a28ab38258b63cd/html5/thumbnails/18.jpg)
Speechto Text
Sentiment Analysis
Actionable Analysis
Customer Support
PREDICTIVE ENGAGEMENT
Customer support call recordings
Convert audiointo text
Analyze formood keywords
Determine ifresponse is required
Reach out to customer/prospect
Blog & community comments
Social media mentions
Press & blog coverage
Customer support chat
Product reviews
Inbound emails
![Page 19: Setting up a Machine Learning Platform](https://reader033.fdocuments.us/reader033/viewer/2022052915/587b64b11a28ab38258b63cd/html5/thumbnails/19.jpg)
Twitter API
AlchemyAPI
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
![Page 20: Setting up a Machine Learning Platform](https://reader033.fdocuments.us/reader033/viewer/2022052915/587b64b11a28ab38258b63cd/html5/thumbnails/20.jpg)
END RESULT
A “smart” application that streamlines your customer service processes on Twitter.
![Page 21: Setting up a Machine Learning Platform](https://reader033.fdocuments.us/reader033/viewer/2022052915/587b64b11a28ab38258b63cd/html5/thumbnails/21.jpg)
TRAINING DATA
docs.google.com/spreadsheets/d/1daGb3Kai1gN9WUgnfFnzmwavnmCaKdvdgaj2fhlvYe0/edit
![Page 22: Setting up a Machine Learning Platform](https://reader033.fdocuments.us/reader033/viewer/2022052915/587b64b11a28ab38258b63cd/html5/thumbnails/22.jpg)
Warning: Live social media content.
![Page 23: Setting up a Machine Learning Platform](https://reader033.fdocuments.us/reader033/viewer/2022052915/587b64b11a28ab38258b63cd/html5/thumbnails/23.jpg)
STEP BY STEP GUIDE10xnation.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
![Page 24: Setting up a Machine Learning Platform](https://reader033.fdocuments.us/reader033/viewer/2022052915/587b64b11a28ab38258b63cd/html5/thumbnails/24.jpg)
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”
![Page 25: Setting up a Machine Learning Platform](https://reader033.fdocuments.us/reader033/viewer/2022052915/587b64b11a28ab38258b63cd/html5/thumbnails/25.jpg)
GATHERING DATA
Example #3: Capturing website traffic data using WordPress
![Page 26: Setting up a Machine Learning Platform](https://reader033.fdocuments.us/reader033/viewer/2022052915/587b64b11a28ab38258b63cd/html5/thumbnails/26.jpg)
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.
![Page 27: Setting up a Machine Learning Platform](https://reader033.fdocuments.us/reader033/viewer/2022052915/587b64b11a28ab38258b63cd/html5/thumbnails/27.jpg)
THE QUESTION
How can we gather more data from our website,so we can better understand our visitors
— and predict their behavior.
![Page 28: Setting up a Machine Learning Platform](https://reader033.fdocuments.us/reader033/viewer/2022052915/587b64b11a28ab38258b63cd/html5/thumbnails/28.jpg)
THE SOLUTION
We’ll use WordPress for this example.
And we’ll capture as much data from it as we can.
![Page 29: Setting up a Machine Learning Platform](https://reader033.fdocuments.us/reader033/viewer/2022052915/587b64b11a28ab38258b63cd/html5/thumbnails/29.jpg)
STEP BY STEP GUIDE
10xnation.com/wordpress-analytics
● Step 1: Webserver Data ● Step 2: PHP Data ● Step 3: WordPress Data ● Step 4: Browsing Data
![Page 30: Setting up a Machine Learning Platform](https://reader033.fdocuments.us/reader033/viewer/2022052915/587b64b11a28ab38258b63cd/html5/thumbnails/30.jpg)
THOUGHTS?
Hurdles looking easier to navigate?
![Page 31: Setting up a Machine Learning Platform](https://reader033.fdocuments.us/reader033/viewer/2022052915/587b64b11a28ab38258b63cd/html5/thumbnails/31.jpg)
UNLEASH YOUR BUSINESSEMBRACE EXPONENTIAL
10xnation.com