practical machine learning with prediction apis
TRANSCRIPT
![Page 1: Practical Machine Learning with Prediction APIs](https://reader033.vdocuments.us/reader033/viewer/2022052514/5882dc841a28ab33258b4e69/html5/thumbnails/1.jpg)
Practical Machine Learning with Prediction APIs
Joseph Ferraro, Salesforce MVP, CTO, Mavens Consulting Vincent Reeder, Technical Architect, Mavens Consulting
![Page 2: Practical Machine Learning with Prediction APIs](https://reader033.vdocuments.us/reader033/viewer/2022052514/5882dc841a28ab33258b4e69/html5/thumbnails/2.jpg)
Joseph Ferraro Salesforce Developer MVP
CTO, Mavens Consulting
@joeferraro
@mavensmate
![Page 3: Practical Machine Learning with Prediction APIs](https://reader033.vdocuments.us/reader033/viewer/2022052514/5882dc841a28ab33258b4e69/html5/thumbnails/3.jpg)
Vincent Reeder Technical Architect, Mavens Consulting
@vincentreeder
![Page 4: Practical Machine Learning with Prediction APIs](https://reader033.vdocuments.us/reader033/viewer/2022052514/5882dc841a28ab33258b4e69/html5/thumbnails/4.jpg)
About Mavens Consulting
Preferred Healthcare & Life Sciences implementation partner for salesforce.com and Veeva
50+ Salesforce1 & Heroku consultants located across North America and Europe
12 Mavens in attendance at #Dreamforce15, speaking in 8 different technical sessions
#mavensDF15
![Page 5: Practical Machine Learning with Prediction APIs](https://reader033.vdocuments.us/reader033/viewer/2022052514/5882dc841a28ab33258b4e69/html5/thumbnails/5.jpg)
Agenda
What is machine learning?
Practical applications
How does it work?
Sales Demo with Code
Service Demo with Code
Summary
Q&A
![Page 6: Practical Machine Learning with Prediction APIs](https://reader033.vdocuments.us/reader033/viewer/2022052514/5882dc841a28ab33258b4e69/html5/thumbnails/6.jpg)
Machine Learning A type of artificial intelligence (AI) that provides computers with the ability to learn without being explicitly programmed
![Page 7: Practical Machine Learning with Prediction APIs](https://reader033.vdocuments.us/reader033/viewer/2022052514/5882dc841a28ab33258b4e69/html5/thumbnails/7.jpg)
Machine Learning: What is it?
Teaching a computer to “do stuff”
Automatic
Algorithmic
Pattern recognition
Artificial intelligence
http://www.cs.princeton.edu/courses/archive/spr08/cos511/scribe_notes/0204.pdf
![Page 8: Practical Machine Learning with Prediction APIs](https://reader033.vdocuments.us/reader033/viewer/2022052514/5882dc841a28ab33258b4e69/html5/thumbnails/8.jpg)
Machine Learning: Practical applications
Spam filtering
Fraud detection
Optical character recognition
Medical diagnoses
Anticipate customer needs
Route requests efficiently
Anticipate deals
![Page 9: Practical Machine Learning with Prediction APIs](https://reader033.vdocuments.us/reader033/viewer/2022052514/5882dc841a28ab33258b4e69/html5/thumbnails/9.jpg)
Machine Learning: Common algorithms
Decision trees
Boosting
• Spam filtering
Support vector machines
• Character recognition
http://www.cs.princeton.edu/~schapire/talks/picasso-minicourse.pdf
![Page 10: Practical Machine Learning with Prediction APIs](https://reader033.vdocuments.us/reader033/viewer/2022052514/5882dc841a28ab33258b4e69/html5/thumbnails/10.jpg)
Machine Learning Output
Regression: Estimating or predicting a response
• “There is a 92% chance this is spam”
Classification: Identify members of a group
• “This text is English”
![Page 11: Practical Machine Learning with Prediction APIs](https://reader033.vdocuments.us/reader033/viewer/2022052514/5882dc841a28ab33258b4e69/html5/thumbnails/11.jpg)
Machine Learning: How does it work?
Develop Model
Idea
Data Train
Model Test/
Analyze Go live!
![Page 12: Practical Machine Learning with Prediction APIs](https://reader033.vdocuments.us/reader033/viewer/2022052514/5882dc841a28ab33258b4e69/html5/thumbnails/12.jpg)
Machine Learning: How does it work?
Starts with an idea, but depends on data
Datasets:
• Training – optimal dataset, relationship discovery
• Validation – compare algorithm performance
• Testing – Apply selected algorithm to real-world data
Learn!
![Page 13: Practical Machine Learning with Prediction APIs](https://reader033.vdocuments.us/reader033/viewer/2022052514/5882dc841a28ab33258b4e69/html5/thumbnails/13.jpg)
Demo Use Cases
Sales Cloud
• Predict when leads will covert to opportunities
Serive Cloud
• Gauge customer mood
![Page 14: Practical Machine Learning with Prediction APIs](https://reader033.vdocuments.us/reader033/viewer/2022052514/5882dc841a28ab33258b4e69/html5/thumbnails/14.jpg)
Application
Node.js application running on Heroku
Exposes endpoints for common machine learning tasks, such as training and prediction
Subscribes to Salesforce push topics for Leads and Cases via the streaming API
![Page 15: Practical Machine Learning with Prediction APIs](https://reader033.vdocuments.us/reader033/viewer/2022052514/5882dc841a28ab33258b4e69/html5/thumbnails/15.jpg)
Use Case: Sales
![Page 16: Practical Machine Learning with Prediction APIs](https://reader033.vdocuments.us/reader033/viewer/2022052514/5882dc841a28ab33258b4e69/html5/thumbnails/16.jpg)
Use Case: Support
![Page 17: Practical Machine Learning with Prediction APIs](https://reader033.vdocuments.us/reader033/viewer/2022052514/5882dc841a28ab33258b4e69/html5/thumbnails/17.jpg)
Summary
Machine learning teaches computers to do stuff; cool stuff!
Collect data, train your model, validate and test it, deploy!
Not a perfect science
Powerful when used correctly!
@joeferraro
@vincentreeder
![Page 18: Practical Machine Learning with Prediction APIs](https://reader033.vdocuments.us/reader033/viewer/2022052514/5882dc841a28ab33258b4e69/html5/thumbnails/18.jpg)
Q&A
![Page 19: Practical Machine Learning with Prediction APIs](https://reader033.vdocuments.us/reader033/viewer/2022052514/5882dc841a28ab33258b4e69/html5/thumbnails/19.jpg)
Thank you