SlideShare a Scribd company logo
James Ward
Platform Evangelist
jamesward.com
@_JamesWard
Introduction to
Machine Learning
Machine Learning • Deep Learning • Predictive Analytics • NLP • Smart Data Discovery
AI in the Salesforce Platform
Salesforce Einstein
Introducing
World’s smartest
CRM
Empowering Sales,
Service, Marketing & IT
Everyone can build
AI-powered apps fast
How Humans Learn
Observe
world
Compare to
expectations
Analyze
differences
Refine
model
How Machines Learn
Data to
Model
Evaluate
model
Feedback
signals
Refine
model
What is Machine Learning?
Decision
if (a == “foo”) {
if (b == “bar”) {
if (c == “baz”) {
Data
Ask Model
Prediction Categorization
Apply Algorithm
Create Model
Data
Pattern Recognition via Zeros & Ones
Machine Learning
Machine Learning Spectrum
Use Cases
• Search Relevance
• Collaborative Filtering
• Decision Support
• Time Series Forecasting
Core Methods
• Compression
• Classification
• Regression
• Reinforcement
Frameworks
• Neural Networks
• Support Vector Machines
• Decision Trees
• Bayesian Models
• K-Nearest Neighbor
• Logistic Regression
Use Cases
o Rate leads with how likely they are to close
o Categorize this text as offensive or not
o Recommend products based on what I’ve liked
o Detect anomalies in credit card purchase behavior
ML Core Methods
• Compression – Determine the pattern
• Classification – Determine if “thing” is an x or y
• Regression – Determine the correct output for an input
• Reinforcement – Determine what action yields an award
Product Recommendation
User Likes Prediction
Collaborative Filtering
Demo!
https://dreamhouseapp.io/pio
Prediction IO = Open Source Machine Learning Server
Heroku = Cloud platform to deliver, scale, and monitor apps built in any technology
Heroku Postgres = Relational database in the cloud, managed by Heroku
Heroku Connect = Data sync between Salesforce and Heroku Postgres
Apache Spark = Big Data Framework
Spark ML = Machine Learning libraries built on Apache Spark
Pieces of the Puzzle
Product Recommendation
User 1 User 2 User 3 User 4 User 5
Property 1 ✔
Property 2 ✔ ✔
Property 3 ✔ ✔ ✔
Property 4 ✔ ✔
Property 5 ✔
Human Intelligence First
★
★
★ ★
★

 
Product Recommendation
4 Bedroom Near Park Good School Views New Build
Property 1 ✔ ✔
Property 2 ✔ ✔
Property 3 ✔ ✔
Property 4 ✔
Property 5 ✔ ✔
Features
4 Bedroom Near Park Good School Views New Build
User 1 ✔ ✔
User 2 ✔ ✔
User 3 ✔ ✔
User 4 ✔ ✔
User 5 ✔ ✔
Product Recommendation
Deriving Features from Favorites
4 Bedroom Near Park Good School Views New Build
Property 1 ✔ ✔
Property 2 ✔ ✔
Property 3 ✔ ✔
Property 4 ✔
Property 5 ✔ ✔
×
4 Bedroom Near Park Good School Views New Build
User 1 ✔ ✔
User 2 ✔ ✔
User 3 ✔ ✔
User 4 ✔ ✔
User 5 ✔ ✔
Property Features User FeaturesFavorites
=
User 1 User 2 User 3 User 4 User 5
Property 1 ✔
Property 2 ✔ ✔
Property 3 ✔ ✔ ✔
Property 4 ✔ ✔
Property 5 ✔
4 Bedroom Near Park Good School Views New Build
Property 1 ✔ ✔
Property 2 ✔ ✔
Property 3 ✔ ✔
Property 4 ✔
Property 5 ✔ ✔
×
4 Bedroom Near Park Good School Views New Build
User 1 ✔ ✔
User 2 ✔ ✔
User 3 ✔ ✔
User 4 ✔ ✔
User 5 ✔ ✔
Property FeaturesUser FeaturesFavorites
=
User 1 User 2 User 3 User 4 User 5
Property 1 ✔
Property 2 ✔ ✔
Property 3 ✔ ✔ ✔
Property 4 ✔ ✔
Property 5 ✔
Product Recommendation
Deriving Recommendations from Features
4 Bedroom Near Park Good School Views New Build
Property 1 ✔ ✔
Property 2 ✔ ✔
Property 3 ✔ ✔
Property 4 ✔
Property 5 ✔ ✔
×
4 Bedroom Near Park Good School Views New Build
User 1 ✔ ✔
User 2 ✔ ✔
User 3 ✔ ✔
User 4 ✔ ✔
User 5 ✔ ✔
Property Features User Features Recommendations
=
User 1 User 2 User 3 User 4 User 5
Property 1 ✔
★
Property 2 ✔ ✔
★ ★
Property 3 ✔ ✔ ✔
Property 4
★ ✔ ✔
Property 5 ✔
Favorites
User 1 User 2 User 3 User 4 User 5
Property 1 ✔
Property 2 ✔ ✔
Property 3 ✔ ✔ ✔
Property 4 ✔ ✔
Property 5 ✔
?
4 Bedroom Near Park Good School Views New Build
Property 1 ✔ ✔
Property 2 ✔ ✔
Property 3 ✔ ✔
Property 4 ✔
Property 5 ✔ ✔
&
4 Bedroom Near Park Good School Views New Build
User 1 ✔ ✔
User 2 ✔ ✔
User 3 ✔ ✔
User 4 ✔ ✔
User 5 ✔ ✔
Property Features User Features
Alternating Least Squares
4 Bedroom Near Park Good School Views New Build
User 1 ✔ ✔
User 2 ✔ ✔
User 3 ✔
User 4 ✔ ✔
User 5 ✔
1. Generate Random User Feature Data
4 Bedroom Near Park Good School Views New Build
Property 1 ✔ ✔
Property 2 ✔ ✔
Property 3 ✔
Property 4 ✔
Property 5 ✔
2. Using Favorites, Compute Optimal Property Features
User 1 User 2 User 3 User 4 User 5
Property 1 ✔
Property 2 ✔ ✔
Property 3 ✔ ✔ ✔
Property 4 ✔ ✔
Property 5 ✔
× =
3. Using Property Features and Favorites, Compute Optimal User Features
User 1 User 2 User 3 User 4 User 5
Property 1 ✔
Property 2 ✔ ✔
Property 3 ✔ ✔ ✔
Property 4 ✔ ✔
Property 5 ✔
4 Bedroom Near Park Good School Views New Build
Property 1 ✔ ✔
Property 2 ✔ ✔
Property 3 ✔
Property 4 ✔
Property 5 ✔
×
4 Bedroom Near Park Good School Views New Build
User 1 ✔
User 2 ✔ ✔ ✔
User 3 ✔
User 4 ✔ ✔
User 5 ✔ ✔
=
4. Repeat
The User Features & Property Features converge to a model that fits the training data
Latent Features
Feature 1 Feature 2 Feature 3 Feature 4 Feature N
Property 1 ✔ ✔
Property 2 ✔ ✔
Property 3 ✔ ✔
Property 4 ✔
Property 5 ✔ ✔
Feature 1 Feature 2 Feature 3 Feature 4 Feature N
User 1 ✔ ✔
User 2 ✔ ✔
User 3 ✔ ✔
User 4 ✔ ✔
User 5 ✔ ✔
Data -> Model -> Prediction
Recommendations
User 1 User 2 User 3 User 4 User 5
Property 1 ✔
★
Property 2 ✔ ✔
★ ★
Property 3 ✔ ✔ ✔
Property 4
★ ✔ ✔
Property 5 ✔
Favorites
User 1 User 2 User 3 User 4 User 5
Property 1 ✔
Property 2 ✔ ✔
Property 3 ✔ ✔ ✔
Property 4 ✔ ✔
Property 5 ✔
4 Bedroom Near Park Good School Views New Build
Property 1 ✔ ✔
Property 2 ✔ ✔
Property 3 ✔ ✔
Property 4 ✔
Property 5 ✔ ✔
4 Bedroom Near Park Good School Views New Build
User 1 ✔ ✔
User 2 ✔ ✔
User 3 ✔ ✔
User 4 ✔ ✔
User 5 ✔ ✔
Property Features
User Features
Dot Product
Calculating Predictions
Feature 1 Feature 2 Feature 3 Feature 4 Feature N
Property 1 ✔ ✔
Feature 1 Feature 2 Feature 3 Feature 4 Feature N
User 1 ✔ ✔
0 × 0 ++ ++ 1 × 1 1 × 0 0 × 1 0 × 0
Recommendations
Matrix Factorization Model
User 1 User 2 User 3 User 4 User 5
Property 1
9 7 5 5 0
Property 2
9 9 7 7 0
Property 3
7 9 9 9 0
Property 4
5 9 9 9 0
Property 5
0 0 0 0 9
ALS Storage Efficiency
User 1 User 2 User 3 User 4 User 5 User6 User7 User8 User9 User10
Propert
y 1 9 7 5 5 0 9 7 5 5 0
Propert
y 2 9 9 7 7 0 9 9 7 7 0
Propert
y 3 7 9 9 9 0 7 9 9 9 0
Propert
y 4 5 9 9 9 0 5 9 9 9 0
Propert
y 5 0 0 0 0 9 0 0 0 0 9
Propert
y6 9 7 5 5 0 9 7 5 5 0
Propert
y7 9 9 7 7 0 9 9 7 7 0
Propert
y8 7 9 9 9 0 7 9 9 9 0
Propert
y9 5 9 9 9 0 5 9 9 9 0
Propert
y10 0 0 0 0 9 0 0 0 0 9
User
1
User
2
User
3
User
4
User
5
User
6
User
7
User
8
User
9
User
10
Featu
re1
9 7 5 5 0 9 7 5 5 0
Featu
re2
9 9 7 7 0 9 9 7 7 0
Featu
re3
7 9 9 9 0 7 9 9 9 0
Users x Properties
10 x 10
Feature1 Feature2 Feature3
Property 1 9 7 5
Property 2 9 9 7
Property 3 7 9 9
Property 4 5 9 9
Property 5 0 0 0
Property 6 9 7 5
Property 7 9 9 7
Property 8 7 9 9
Property 9 5 9 9
Property 10 0 0 0
Features x Properties
3 x 10
+
Users x Features
10 x 3
Alternating Least Squares
val favorites: Seq[Favorite] = ...
val ratings = favorites.map(fav => Rating(fav.user, fav.prop, 1))
val (userFeatures, propertyFeatures) = ALS.train(ratings = ratings, rank = 5)
val predictions = userFeatures * propertyFeatures
val predictionsForUser = predictions.filter(_.userId == userId)
Spark ML Makes it Easy
Code!
https://github.com/jamesward/dreamhouse-sparkml
Deployment
• Deploy it on Heroku
• Run on a Spark Cluster
• When to train?
• Where to put the model?
PredictionIO
• Template Gallery
• Event Server
• Model Persistence
• Engine Tuning & Versioning
• REST Endpoint for Predictions
Open Source Machine Learning Server
Introducing: Predictive Vision & Sentiment Services `
Leverage existing and train your own deep learning
models to recognize and classify images
Access deep learning models to classify the
sentiment of text
Predictive Vision Service Predictive Sentiment Service
Predictive Sentiment Service
Get started today!
metamind.io
Introducing: Predictive Vision & Sentiment Services
Predictive Services
Thank Y u

More Related Content

What's hot

An Introduction to XAI! Towards Trusting Your ML Models!
An Introduction to XAI! Towards Trusting Your ML Models!An Introduction to XAI! Towards Trusting Your ML Models!
An Introduction to XAI! Towards Trusting Your ML Models!
Mansour Saffar
 
Introduction to Few shot learning
Introduction to Few shot learningIntroduction to Few shot learning
Introduction to Few shot learning
Ridge-i, Inc.
 
Machine learning introduction
Machine learning introductionMachine learning introduction
Machine learning introduction
Anas Jamil
 
Responsible AI in Industry (ICML 2021 Tutorial)
Responsible AI in Industry (ICML 2021 Tutorial)Responsible AI in Industry (ICML 2021 Tutorial)
Responsible AI in Industry (ICML 2021 Tutorial)
Krishnaram Kenthapadi
 
Differences Between Machine Learning Ml Artificial Intelligence AI And Deep L...
Differences Between Machine Learning Ml Artificial Intelligence AI And Deep L...Differences Between Machine Learning Ml Artificial Intelligence AI And Deep L...
Differences Between Machine Learning Ml Artificial Intelligence AI And Deep L...
SlideTeam
 
What Is Machine Learning? | What Is Machine Learning And How Does It Work? | ...
What Is Machine Learning? | What Is Machine Learning And How Does It Work? | ...What Is Machine Learning? | What Is Machine Learning And How Does It Work? | ...
What Is Machine Learning? | What Is Machine Learning And How Does It Work? | ...
Simplilearn
 
Machine Learning
Machine LearningMachine Learning
Machine Learning
Anastasia Jakubow
 
Deep Learning for Computer Vision: Image Classification (UPC 2016)
Deep Learning for Computer Vision: Image Classification (UPC 2016)Deep Learning for Computer Vision: Image Classification (UPC 2016)
Deep Learning for Computer Vision: Image Classification (UPC 2016)
Universitat Politècnica de Catalunya
 
Active learning lecture
Active learning lectureActive learning lecture
Active learning lecture
azuring
 
Machine Learning Tutorial Part - 2 | Machine Learning Tutorial For Beginners ...
Machine Learning Tutorial Part - 2 | Machine Learning Tutorial For Beginners ...Machine Learning Tutorial Part - 2 | Machine Learning Tutorial For Beginners ...
Machine Learning Tutorial Part - 2 | Machine Learning Tutorial For Beginners ...
Simplilearn
 
Machine learning
Machine learningMachine learning
Machine learning
eonx_32
 
Advances in Exploratory Data Analysis, Visualisation and Quality for Data Cen...
Advances in Exploratory Data Analysis, Visualisation and Quality for Data Cen...Advances in Exploratory Data Analysis, Visualisation and Quality for Data Cen...
Advances in Exploratory Data Analysis, Visualisation and Quality for Data Cen...
Hima Patel
 
Machine Learning Basics
Machine Learning BasicsMachine Learning Basics
Machine Learning Basics
Suresh Arora
 
Machine Learning Tutorial Part - 1 | Machine Learning Tutorial For Beginners ...
Machine Learning Tutorial Part - 1 | Machine Learning Tutorial For Beginners ...Machine Learning Tutorial Part - 1 | Machine Learning Tutorial For Beginners ...
Machine Learning Tutorial Part - 1 | Machine Learning Tutorial For Beginners ...
Simplilearn
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine Learning
CloudxLab
 
Machine Learning for Dummies
Machine Learning for DummiesMachine Learning for Dummies
Machine Learning for Dummies
Venkata Reddy Konasani
 
Explainable AI
Explainable AIExplainable AI
Explainable AI
Dinesh V
 
Ai For Everyone
Ai For EveryoneAi For Everyone
Ai For Everyone
Felicity Mecha
 
Introduction To Machine Learning
Introduction To Machine LearningIntroduction To Machine Learning
Introduction To Machine Learning
Knoldus Inc.
 
Model selection and cross validation techniques
Model selection and cross validation techniquesModel selection and cross validation techniques
Model selection and cross validation techniques
Venkata Reddy Konasani
 

What's hot (20)

An Introduction to XAI! Towards Trusting Your ML Models!
An Introduction to XAI! Towards Trusting Your ML Models!An Introduction to XAI! Towards Trusting Your ML Models!
An Introduction to XAI! Towards Trusting Your ML Models!
 
Introduction to Few shot learning
Introduction to Few shot learningIntroduction to Few shot learning
Introduction to Few shot learning
 
Machine learning introduction
Machine learning introductionMachine learning introduction
Machine learning introduction
 
Responsible AI in Industry (ICML 2021 Tutorial)
Responsible AI in Industry (ICML 2021 Tutorial)Responsible AI in Industry (ICML 2021 Tutorial)
Responsible AI in Industry (ICML 2021 Tutorial)
 
Differences Between Machine Learning Ml Artificial Intelligence AI And Deep L...
Differences Between Machine Learning Ml Artificial Intelligence AI And Deep L...Differences Between Machine Learning Ml Artificial Intelligence AI And Deep L...
Differences Between Machine Learning Ml Artificial Intelligence AI And Deep L...
 
What Is Machine Learning? | What Is Machine Learning And How Does It Work? | ...
What Is Machine Learning? | What Is Machine Learning And How Does It Work? | ...What Is Machine Learning? | What Is Machine Learning And How Does It Work? | ...
What Is Machine Learning? | What Is Machine Learning And How Does It Work? | ...
 
Machine Learning
Machine LearningMachine Learning
Machine Learning
 
Deep Learning for Computer Vision: Image Classification (UPC 2016)
Deep Learning for Computer Vision: Image Classification (UPC 2016)Deep Learning for Computer Vision: Image Classification (UPC 2016)
Deep Learning for Computer Vision: Image Classification (UPC 2016)
 
Active learning lecture
Active learning lectureActive learning lecture
Active learning lecture
 
Machine Learning Tutorial Part - 2 | Machine Learning Tutorial For Beginners ...
Machine Learning Tutorial Part - 2 | Machine Learning Tutorial For Beginners ...Machine Learning Tutorial Part - 2 | Machine Learning Tutorial For Beginners ...
Machine Learning Tutorial Part - 2 | Machine Learning Tutorial For Beginners ...
 
Machine learning
Machine learningMachine learning
Machine learning
 
Advances in Exploratory Data Analysis, Visualisation and Quality for Data Cen...
Advances in Exploratory Data Analysis, Visualisation and Quality for Data Cen...Advances in Exploratory Data Analysis, Visualisation and Quality for Data Cen...
Advances in Exploratory Data Analysis, Visualisation and Quality for Data Cen...
 
Machine Learning Basics
Machine Learning BasicsMachine Learning Basics
Machine Learning Basics
 
Machine Learning Tutorial Part - 1 | Machine Learning Tutorial For Beginners ...
Machine Learning Tutorial Part - 1 | Machine Learning Tutorial For Beginners ...Machine Learning Tutorial Part - 1 | Machine Learning Tutorial For Beginners ...
Machine Learning Tutorial Part - 1 | Machine Learning Tutorial For Beginners ...
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine Learning
 
Machine Learning for Dummies
Machine Learning for DummiesMachine Learning for Dummies
Machine Learning for Dummies
 
Explainable AI
Explainable AIExplainable AI
Explainable AI
 
Ai For Everyone
Ai For EveryoneAi For Everyone
Ai For Everyone
 
Introduction To Machine Learning
Introduction To Machine LearningIntroduction To Machine Learning
Introduction To Machine Learning
 
Model selection and cross validation techniques
Model selection and cross validation techniquesModel selection and cross validation techniques
Model selection and cross validation techniques
 

Viewers also liked

Machine Learning by Example - Apache Spark
Machine Learning by Example - Apache SparkMachine Learning by Example - Apache Spark
Machine Learning by Example - Apache Spark
Meeraj Kunnumpurath
 
Transformation Processing Smackdown; Spark vs Hive vs Pig
Transformation Processing Smackdown; Spark vs Hive vs PigTransformation Processing Smackdown; Spark vs Hive vs Pig
Transformation Processing Smackdown; Spark vs Hive vs Pig
Lester Martin
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine Learning
Raveen Perera
 
Machine Learning, Deep Learning and Data Analysis Introduction
Machine Learning, Deep Learning and Data Analysis IntroductionMachine Learning, Deep Learning and Data Analysis Introduction
Machine Learning, Deep Learning and Data Analysis Introduction
Te-Yen Liu
 
Deep learning - Part I
Deep learning - Part IDeep learning - Part I
Deep learning - Part I
QuantUniversity
 
Boosting spark performance: An Overview of Techniques
Boosting spark performance: An Overview of TechniquesBoosting spark performance: An Overview of Techniques
Boosting spark performance: An Overview of Techniques
Ahsan Javed Awan
 
An introduction to Machine Learning (and a little bit of Deep Learning)
An introduction to Machine Learning (and a little bit of Deep Learning)An introduction to Machine Learning (and a little bit of Deep Learning)
An introduction to Machine Learning (and a little bit of Deep Learning)
Thomas da Silva Paula
 
Developing microservices with aggregates (devnexus2017)
Developing microservices with aggregates (devnexus2017)Developing microservices with aggregates (devnexus2017)
Developing microservices with aggregates (devnexus2017)
Chris Richardson
 
Real time Analytics with Apache Kafka and Apache Spark
Real time Analytics with Apache Kafka and Apache SparkReal time Analytics with Apache Kafka and Apache Spark
Real time Analytics with Apache Kafka and Apache Spark
Rahul Jain
 
The hardest part of microservices: your data
The hardest part of microservices: your dataThe hardest part of microservices: your data
The hardest part of microservices: your data
Christian Posta
 
Top 5 Mistakes to Avoid When Writing Apache Spark Applications
Top 5 Mistakes to Avoid When Writing Apache Spark ApplicationsTop 5 Mistakes to Avoid When Writing Apache Spark Applications
Top 5 Mistakes to Avoid When Writing Apache Spark Applications
Cloudera, Inc.
 
Developing Real-Time Data Pipelines with Apache Kafka
Developing Real-Time Data Pipelines with Apache KafkaDeveloping Real-Time Data Pipelines with Apache Kafka
Developing Real-Time Data Pipelines with Apache Kafka
Joe Stein
 
Avoid the Fail Whale - Design for Availability
Avoid the Fail Whale - Design for AvailabilityAvoid the Fail Whale - Design for Availability
Avoid the Fail Whale - Design for Availability
Brian O'Connell
 
Salesforce Campus Tour - Developer Advanced
Salesforce Campus Tour - Developer AdvancedSalesforce Campus Tour - Developer Advanced
Salesforce Campus Tour - Developer Advanced
James Ward
 
Salesforce Campus Tour - Developer Intro
Salesforce Campus Tour - Developer IntroSalesforce Campus Tour - Developer Intro
Salesforce Campus Tour - Developer Intro
James Ward
 
Salesforce Campus Tour - Declarative
Salesforce Campus Tour - DeclarativeSalesforce Campus Tour - Declarative
Salesforce Campus Tour - Declarative
James Ward
 
Salesforce X AWS Machine Learning
Salesforce X AWS Machine LearningSalesforce X AWS Machine Learning
Salesforce X AWS Machine Learning
Akihiro Iwaya
 
Mastering MapReduce: MapReduce for Big Data Management and Analysis
Mastering MapReduce: MapReduce for Big Data Management and AnalysisMastering MapReduce: MapReduce for Big Data Management and Analysis
Mastering MapReduce: MapReduce for Big Data Management and Analysis
Teradata Aster
 
Spark Tuning for Enterprise System Administrators
Spark Tuning for Enterprise System AdministratorsSpark Tuning for Enterprise System Administrators
Spark Tuning for Enterprise System Administrators
Alpine Data
 
Generics and Lambda survival guide - DevNexus 2017
Generics and Lambda survival guide - DevNexus 2017Generics and Lambda survival guide - DevNexus 2017
Generics and Lambda survival guide - DevNexus 2017
Henri Tremblay
 

Viewers also liked (20)

Machine Learning by Example - Apache Spark
Machine Learning by Example - Apache SparkMachine Learning by Example - Apache Spark
Machine Learning by Example - Apache Spark
 
Transformation Processing Smackdown; Spark vs Hive vs Pig
Transformation Processing Smackdown; Spark vs Hive vs PigTransformation Processing Smackdown; Spark vs Hive vs Pig
Transformation Processing Smackdown; Spark vs Hive vs Pig
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine Learning
 
Machine Learning, Deep Learning and Data Analysis Introduction
Machine Learning, Deep Learning and Data Analysis IntroductionMachine Learning, Deep Learning and Data Analysis Introduction
Machine Learning, Deep Learning and Data Analysis Introduction
 
Deep learning - Part I
Deep learning - Part IDeep learning - Part I
Deep learning - Part I
 
Boosting spark performance: An Overview of Techniques
Boosting spark performance: An Overview of TechniquesBoosting spark performance: An Overview of Techniques
Boosting spark performance: An Overview of Techniques
 
An introduction to Machine Learning (and a little bit of Deep Learning)
An introduction to Machine Learning (and a little bit of Deep Learning)An introduction to Machine Learning (and a little bit of Deep Learning)
An introduction to Machine Learning (and a little bit of Deep Learning)
 
Developing microservices with aggregates (devnexus2017)
Developing microservices with aggregates (devnexus2017)Developing microservices with aggregates (devnexus2017)
Developing microservices with aggregates (devnexus2017)
 
Real time Analytics with Apache Kafka and Apache Spark
Real time Analytics with Apache Kafka and Apache SparkReal time Analytics with Apache Kafka and Apache Spark
Real time Analytics with Apache Kafka and Apache Spark
 
The hardest part of microservices: your data
The hardest part of microservices: your dataThe hardest part of microservices: your data
The hardest part of microservices: your data
 
Top 5 Mistakes to Avoid When Writing Apache Spark Applications
Top 5 Mistakes to Avoid When Writing Apache Spark ApplicationsTop 5 Mistakes to Avoid When Writing Apache Spark Applications
Top 5 Mistakes to Avoid When Writing Apache Spark Applications
 
Developing Real-Time Data Pipelines with Apache Kafka
Developing Real-Time Data Pipelines with Apache KafkaDeveloping Real-Time Data Pipelines with Apache Kafka
Developing Real-Time Data Pipelines with Apache Kafka
 
Avoid the Fail Whale - Design for Availability
Avoid the Fail Whale - Design for AvailabilityAvoid the Fail Whale - Design for Availability
Avoid the Fail Whale - Design for Availability
 
Salesforce Campus Tour - Developer Advanced
Salesforce Campus Tour - Developer AdvancedSalesforce Campus Tour - Developer Advanced
Salesforce Campus Tour - Developer Advanced
 
Salesforce Campus Tour - Developer Intro
Salesforce Campus Tour - Developer IntroSalesforce Campus Tour - Developer Intro
Salesforce Campus Tour - Developer Intro
 
Salesforce Campus Tour - Declarative
Salesforce Campus Tour - DeclarativeSalesforce Campus Tour - Declarative
Salesforce Campus Tour - Declarative
 
Salesforce X AWS Machine Learning
Salesforce X AWS Machine LearningSalesforce X AWS Machine Learning
Salesforce X AWS Machine Learning
 
Mastering MapReduce: MapReduce for Big Data Management and Analysis
Mastering MapReduce: MapReduce for Big Data Management and AnalysisMastering MapReduce: MapReduce for Big Data Management and Analysis
Mastering MapReduce: MapReduce for Big Data Management and Analysis
 
Spark Tuning for Enterprise System Administrators
Spark Tuning for Enterprise System AdministratorsSpark Tuning for Enterprise System Administrators
Spark Tuning for Enterprise System Administrators
 
Generics and Lambda survival guide - DevNexus 2017
Generics and Lambda survival guide - DevNexus 2017Generics and Lambda survival guide - DevNexus 2017
Generics and Lambda survival guide - DevNexus 2017
 

Similar to Introduction to Machine Learning

Aprendizado de Máquina e Visualização de Informação para otimização de Sistem...
Aprendizado de Máquina e Visualização de Informação para otimização de Sistem...Aprendizado de Máquina e Visualização de Informação para otimização de Sistem...
Aprendizado de Máquina e Visualização de Informação para otimização de Sistem...
Robson Motta
 
Aprendizado de maquina e visualizacao de informacao para otimizacao de sistem...
Aprendizado de maquina e visualizacao de informacao para otimizacao de sistem...Aprendizado de maquina e visualizacao de informacao para otimizacao de sistem...
Aprendizado de maquina e visualizacao de informacao para otimizacao de sistem...
tdc-globalcode
 
Algorithm For optimization.pptx
Algorithm For optimization.pptxAlgorithm For optimization.pptx
Algorithm For optimization.pptx
KARISHMA JAIN
 
Data generation, the hard parts
Data generation, the hard partsData generation, the hard parts
Data generation, the hard parts
Eric Torreborre
 
Don't Fear the User
Don't Fear the UserDon't Fear the User
Don't Fear the User
Jacob Geib-Rosch
 
TCO19 Japan Introduction to Marathon Matches
TCO19 Japan Introduction to Marathon MatchesTCO19 Japan Introduction to Marathon Matches
TCO19 Japan Introduction to Marathon Matches
tomerun
 
CyberMLToolkit: Anomaly Detection as a Scalable Generic Service Over Apache S...
CyberMLToolkit: Anomaly Detection as a Scalable Generic Service Over Apache S...CyberMLToolkit: Anomaly Detection as a Scalable Generic Service Over Apache S...
CyberMLToolkit: Anomaly Detection as a Scalable Generic Service Over Apache S...
Databricks
 
Using SigOpt to Tune Deep Learning Models with Nervana Cloud
Using SigOpt to Tune Deep Learning Models with Nervana CloudUsing SigOpt to Tune Deep Learning Models with Nervana Cloud
Using SigOpt to Tune Deep Learning Models with Nervana Cloud
SigOpt
 
The Essentials of Great Product Design
The Essentials of Great Product DesignThe Essentials of Great Product Design
The Essentials of Great Product Design
Matt Baxter
 
Local collaborative autoencoders (WSDM2021)
Local collaborative autoencoders (WSDM2021)Local collaborative autoencoders (WSDM2021)
Local collaborative autoencoders (WSDM2021)
민진 최
 
The deep bootstrap framework review
The deep bootstrap framework reviewThe deep bootstrap framework review
The deep bootstrap framework review
taeseon ryu
 
User Story Mapping - mini iad 2014 (Armani, Rodriguez)
User Story Mapping - mini iad 2014 (Armani, Rodriguez)User Story Mapping - mini iad 2014 (Armani, Rodriguez)
User Story Mapping - mini iad 2014 (Armani, Rodriguez)
Fabio Armani
 
Automating Hyperion Planning Tasks
Automating Hyperion Planning TasksAutomating Hyperion Planning Tasks
Automating Hyperion Planning Tasks
Kyle Goodfriend
 
Barga Data Science lecture 9
Barga Data Science lecture 9Barga Data Science lecture 9
Barga Data Science lecture 9
Roger Barga
 
Making smart decisions in real-time with Reinforcement Learning
Making smart decisions in real-time with Reinforcement LearningMaking smart decisions in real-time with Reinforcement Learning
Making smart decisions in real-time with Reinforcement Learning
Ruth Yakubu
 
Automatic Image Cropping - A journey from a Master Thesis to Production
Automatic Image Cropping - A journey from a Master Thesis to ProductionAutomatic Image Cropping - A journey from a Master Thesis to Production
Automatic Image Cropping - A journey from a Master Thesis to Production
Alexey Grigorev
 
Remote User Testing - MSU 12 Nov2021
Remote User Testing - MSU 12 Nov2021Remote User Testing - MSU 12 Nov2021
Remote User Testing - MSU 12 Nov2021
Chris Farnum
 
Evolving the Optimal Relevancy Ranking Model at Dice.com
Evolving the Optimal Relevancy Ranking Model at Dice.comEvolving the Optimal Relevancy Ranking Model at Dice.com
Evolving the Optimal Relevancy Ranking Model at Dice.com
Simon Hughes
 
Text Classification Powered by Apache Mahout and Lucene
Text Classification Powered by Apache Mahout and LuceneText Classification Powered by Apache Mahout and Lucene
Text Classification Powered by Apache Mahout and Lucene
lucenerevolution
 

Similar to Introduction to Machine Learning (20)

Aprendizado de Máquina e Visualização de Informação para otimização de Sistem...
Aprendizado de Máquina e Visualização de Informação para otimização de Sistem...Aprendizado de Máquina e Visualização de Informação para otimização de Sistem...
Aprendizado de Máquina e Visualização de Informação para otimização de Sistem...
 
Aprendizado de maquina e visualizacao de informacao para otimizacao de sistem...
Aprendizado de maquina e visualizacao de informacao para otimizacao de sistem...Aprendizado de maquina e visualizacao de informacao para otimizacao de sistem...
Aprendizado de maquina e visualizacao de informacao para otimizacao de sistem...
 
Algorithm For optimization.pptx
Algorithm For optimization.pptxAlgorithm For optimization.pptx
Algorithm For optimization.pptx
 
Data generation, the hard parts
Data generation, the hard partsData generation, the hard parts
Data generation, the hard parts
 
Don't Fear the User
Don't Fear the UserDon't Fear the User
Don't Fear the User
 
TCO19 Japan Introduction to Marathon Matches
TCO19 Japan Introduction to Marathon MatchesTCO19 Japan Introduction to Marathon Matches
TCO19 Japan Introduction to Marathon Matches
 
CyberMLToolkit: Anomaly Detection as a Scalable Generic Service Over Apache S...
CyberMLToolkit: Anomaly Detection as a Scalable Generic Service Over Apache S...CyberMLToolkit: Anomaly Detection as a Scalable Generic Service Over Apache S...
CyberMLToolkit: Anomaly Detection as a Scalable Generic Service Over Apache S...
 
Using SigOpt to Tune Deep Learning Models with Nervana Cloud
Using SigOpt to Tune Deep Learning Models with Nervana CloudUsing SigOpt to Tune Deep Learning Models with Nervana Cloud
Using SigOpt to Tune Deep Learning Models with Nervana Cloud
 
The Essentials of Great Product Design
The Essentials of Great Product DesignThe Essentials of Great Product Design
The Essentials of Great Product Design
 
Local collaborative autoencoders (WSDM2021)
Local collaborative autoencoders (WSDM2021)Local collaborative autoencoders (WSDM2021)
Local collaborative autoencoders (WSDM2021)
 
The deep bootstrap framework review
The deep bootstrap framework reviewThe deep bootstrap framework review
The deep bootstrap framework review
 
User Story Mapping - mini iad 2014 (Armani, Rodriguez)
User Story Mapping - mini iad 2014 (Armani, Rodriguez)User Story Mapping - mini iad 2014 (Armani, Rodriguez)
User Story Mapping - mini iad 2014 (Armani, Rodriguez)
 
Automating Hyperion Planning Tasks
Automating Hyperion Planning TasksAutomating Hyperion Planning Tasks
Automating Hyperion Planning Tasks
 
A3 analisis
A3 analisisA3 analisis
A3 analisis
 
Barga Data Science lecture 9
Barga Data Science lecture 9Barga Data Science lecture 9
Barga Data Science lecture 9
 
Making smart decisions in real-time with Reinforcement Learning
Making smart decisions in real-time with Reinforcement LearningMaking smart decisions in real-time with Reinforcement Learning
Making smart decisions in real-time with Reinforcement Learning
 
Automatic Image Cropping - A journey from a Master Thesis to Production
Automatic Image Cropping - A journey from a Master Thesis to ProductionAutomatic Image Cropping - A journey from a Master Thesis to Production
Automatic Image Cropping - A journey from a Master Thesis to Production
 
Remote User Testing - MSU 12 Nov2021
Remote User Testing - MSU 12 Nov2021Remote User Testing - MSU 12 Nov2021
Remote User Testing - MSU 12 Nov2021
 
Evolving the Optimal Relevancy Ranking Model at Dice.com
Evolving the Optimal Relevancy Ranking Model at Dice.comEvolving the Optimal Relevancy Ranking Model at Dice.com
Evolving the Optimal Relevancy Ranking Model at Dice.com
 
Text Classification Powered by Apache Mahout and Lucene
Text Classification Powered by Apache Mahout and LuceneText Classification Powered by Apache Mahout and Lucene
Text Classification Powered by Apache Mahout and Lucene
 

Recently uploaded

Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
Paul Groth
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Jeffrey Haguewood
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
Frank van Harmelen
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Product School
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 

Recently uploaded (20)

Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 

Introduction to Machine Learning

  • 2. Machine Learning • Deep Learning • Predictive Analytics • NLP • Smart Data Discovery AI in the Salesforce Platform Salesforce Einstein Introducing World’s smartest CRM Empowering Sales, Service, Marketing & IT Everyone can build AI-powered apps fast
  • 3. How Humans Learn Observe world Compare to expectations Analyze differences Refine model
  • 4. How Machines Learn Data to Model Evaluate model Feedback signals Refine model
  • 5. What is Machine Learning? Decision if (a == “foo”) { if (b == “bar”) { if (c == “baz”) { Data Ask Model Prediction Categorization Apply Algorithm Create Model Data Pattern Recognition via Zeros & Ones
  • 7. Machine Learning Spectrum Use Cases • Search Relevance • Collaborative Filtering • Decision Support • Time Series Forecasting Core Methods • Compression • Classification • Regression • Reinforcement Frameworks • Neural Networks • Support Vector Machines • Decision Trees • Bayesian Models • K-Nearest Neighbor • Logistic Regression
  • 8. Use Cases o Rate leads with how likely they are to close o Categorize this text as offensive or not o Recommend products based on what I’ve liked o Detect anomalies in credit card purchase behavior
  • 9. ML Core Methods • Compression – Determine the pattern • Classification – Determine if “thing” is an x or y • Regression – Determine the correct output for an input • Reinforcement – Determine what action yields an award
  • 10. Product Recommendation User Likes Prediction Collaborative Filtering
  • 12. Prediction IO = Open Source Machine Learning Server Heroku = Cloud platform to deliver, scale, and monitor apps built in any technology Heroku Postgres = Relational database in the cloud, managed by Heroku Heroku Connect = Data sync between Salesforce and Heroku Postgres Apache Spark = Big Data Framework Spark ML = Machine Learning libraries built on Apache Spark Pieces of the Puzzle
  • 13. Product Recommendation User 1 User 2 User 3 User 4 User 5 Property 1 ✔ Property 2 ✔ ✔ Property 3 ✔ ✔ ✔ Property 4 ✔ ✔ Property 5 ✔ Human Intelligence First ★ ★ ★ ★ ★   
  • 14. Product Recommendation 4 Bedroom Near Park Good School Views New Build Property 1 ✔ ✔ Property 2 ✔ ✔ Property 3 ✔ ✔ Property 4 ✔ Property 5 ✔ ✔ Features 4 Bedroom Near Park Good School Views New Build User 1 ✔ ✔ User 2 ✔ ✔ User 3 ✔ ✔ User 4 ✔ ✔ User 5 ✔ ✔
  • 15. Product Recommendation Deriving Features from Favorites 4 Bedroom Near Park Good School Views New Build Property 1 ✔ ✔ Property 2 ✔ ✔ Property 3 ✔ ✔ Property 4 ✔ Property 5 ✔ ✔ × 4 Bedroom Near Park Good School Views New Build User 1 ✔ ✔ User 2 ✔ ✔ User 3 ✔ ✔ User 4 ✔ ✔ User 5 ✔ ✔ Property Features User FeaturesFavorites = User 1 User 2 User 3 User 4 User 5 Property 1 ✔ Property 2 ✔ ✔ Property 3 ✔ ✔ ✔ Property 4 ✔ ✔ Property 5 ✔ 4 Bedroom Near Park Good School Views New Build Property 1 ✔ ✔ Property 2 ✔ ✔ Property 3 ✔ ✔ Property 4 ✔ Property 5 ✔ ✔ × 4 Bedroom Near Park Good School Views New Build User 1 ✔ ✔ User 2 ✔ ✔ User 3 ✔ ✔ User 4 ✔ ✔ User 5 ✔ ✔ Property FeaturesUser FeaturesFavorites = User 1 User 2 User 3 User 4 User 5 Property 1 ✔ Property 2 ✔ ✔ Property 3 ✔ ✔ ✔ Property 4 ✔ ✔ Property 5 ✔
  • 16. Product Recommendation Deriving Recommendations from Features 4 Bedroom Near Park Good School Views New Build Property 1 ✔ ✔ Property 2 ✔ ✔ Property 3 ✔ ✔ Property 4 ✔ Property 5 ✔ ✔ × 4 Bedroom Near Park Good School Views New Build User 1 ✔ ✔ User 2 ✔ ✔ User 3 ✔ ✔ User 4 ✔ ✔ User 5 ✔ ✔ Property Features User Features Recommendations = User 1 User 2 User 3 User 4 User 5 Property 1 ✔ ★ Property 2 ✔ ✔ ★ ★ Property 3 ✔ ✔ ✔ Property 4 ★ ✔ ✔ Property 5 ✔ Favorites User 1 User 2 User 3 User 4 User 5 Property 1 ✔ Property 2 ✔ ✔ Property 3 ✔ ✔ ✔ Property 4 ✔ ✔ Property 5 ✔ ? 4 Bedroom Near Park Good School Views New Build Property 1 ✔ ✔ Property 2 ✔ ✔ Property 3 ✔ ✔ Property 4 ✔ Property 5 ✔ ✔ & 4 Bedroom Near Park Good School Views New Build User 1 ✔ ✔ User 2 ✔ ✔ User 3 ✔ ✔ User 4 ✔ ✔ User 5 ✔ ✔ Property Features User Features
  • 17. Alternating Least Squares 4 Bedroom Near Park Good School Views New Build User 1 ✔ ✔ User 2 ✔ ✔ User 3 ✔ User 4 ✔ ✔ User 5 ✔ 1. Generate Random User Feature Data 4 Bedroom Near Park Good School Views New Build Property 1 ✔ ✔ Property 2 ✔ ✔ Property 3 ✔ Property 4 ✔ Property 5 ✔ 2. Using Favorites, Compute Optimal Property Features User 1 User 2 User 3 User 4 User 5 Property 1 ✔ Property 2 ✔ ✔ Property 3 ✔ ✔ ✔ Property 4 ✔ ✔ Property 5 ✔ × = 3. Using Property Features and Favorites, Compute Optimal User Features User 1 User 2 User 3 User 4 User 5 Property 1 ✔ Property 2 ✔ ✔ Property 3 ✔ ✔ ✔ Property 4 ✔ ✔ Property 5 ✔ 4 Bedroom Near Park Good School Views New Build Property 1 ✔ ✔ Property 2 ✔ ✔ Property 3 ✔ Property 4 ✔ Property 5 ✔ × 4 Bedroom Near Park Good School Views New Build User 1 ✔ User 2 ✔ ✔ ✔ User 3 ✔ User 4 ✔ ✔ User 5 ✔ ✔ = 4. Repeat The User Features & Property Features converge to a model that fits the training data
  • 18. Latent Features Feature 1 Feature 2 Feature 3 Feature 4 Feature N Property 1 ✔ ✔ Property 2 ✔ ✔ Property 3 ✔ ✔ Property 4 ✔ Property 5 ✔ ✔ Feature 1 Feature 2 Feature 3 Feature 4 Feature N User 1 ✔ ✔ User 2 ✔ ✔ User 3 ✔ ✔ User 4 ✔ ✔ User 5 ✔ ✔
  • 19. Data -> Model -> Prediction Recommendations User 1 User 2 User 3 User 4 User 5 Property 1 ✔ ★ Property 2 ✔ ✔ ★ ★ Property 3 ✔ ✔ ✔ Property 4 ★ ✔ ✔ Property 5 ✔ Favorites User 1 User 2 User 3 User 4 User 5 Property 1 ✔ Property 2 ✔ ✔ Property 3 ✔ ✔ ✔ Property 4 ✔ ✔ Property 5 ✔ 4 Bedroom Near Park Good School Views New Build Property 1 ✔ ✔ Property 2 ✔ ✔ Property 3 ✔ ✔ Property 4 ✔ Property 5 ✔ ✔ 4 Bedroom Near Park Good School Views New Build User 1 ✔ ✔ User 2 ✔ ✔ User 3 ✔ ✔ User 4 ✔ ✔ User 5 ✔ ✔ Property Features User Features
  • 20. Dot Product Calculating Predictions Feature 1 Feature 2 Feature 3 Feature 4 Feature N Property 1 ✔ ✔ Feature 1 Feature 2 Feature 3 Feature 4 Feature N User 1 ✔ ✔ 0 × 0 ++ ++ 1 × 1 1 × 0 0 × 1 0 × 0
  • 21. Recommendations Matrix Factorization Model User 1 User 2 User 3 User 4 User 5 Property 1 9 7 5 5 0 Property 2 9 9 7 7 0 Property 3 7 9 9 9 0 Property 4 5 9 9 9 0 Property 5 0 0 0 0 9
  • 22. ALS Storage Efficiency User 1 User 2 User 3 User 4 User 5 User6 User7 User8 User9 User10 Propert y 1 9 7 5 5 0 9 7 5 5 0 Propert y 2 9 9 7 7 0 9 9 7 7 0 Propert y 3 7 9 9 9 0 7 9 9 9 0 Propert y 4 5 9 9 9 0 5 9 9 9 0 Propert y 5 0 0 0 0 9 0 0 0 0 9 Propert y6 9 7 5 5 0 9 7 5 5 0 Propert y7 9 9 7 7 0 9 9 7 7 0 Propert y8 7 9 9 9 0 7 9 9 9 0 Propert y9 5 9 9 9 0 5 9 9 9 0 Propert y10 0 0 0 0 9 0 0 0 0 9 User 1 User 2 User 3 User 4 User 5 User 6 User 7 User 8 User 9 User 10 Featu re1 9 7 5 5 0 9 7 5 5 0 Featu re2 9 9 7 7 0 9 9 7 7 0 Featu re3 7 9 9 9 0 7 9 9 9 0 Users x Properties 10 x 10 Feature1 Feature2 Feature3 Property 1 9 7 5 Property 2 9 9 7 Property 3 7 9 9 Property 4 5 9 9 Property 5 0 0 0 Property 6 9 7 5 Property 7 9 9 7 Property 8 7 9 9 Property 9 5 9 9 Property 10 0 0 0 Features x Properties 3 x 10 + Users x Features 10 x 3
  • 23. Alternating Least Squares val favorites: Seq[Favorite] = ... val ratings = favorites.map(fav => Rating(fav.user, fav.prop, 1)) val (userFeatures, propertyFeatures) = ALS.train(ratings = ratings, rank = 5) val predictions = userFeatures * propertyFeatures val predictionsForUser = predictions.filter(_.userId == userId) Spark ML Makes it Easy
  • 25. Deployment • Deploy it on Heroku • Run on a Spark Cluster • When to train? • Where to put the model?
  • 26. PredictionIO • Template Gallery • Event Server • Model Persistence • Engine Tuning & Versioning • REST Endpoint for Predictions Open Source Machine Learning Server
  • 27. Introducing: Predictive Vision & Sentiment Services ` Leverage existing and train your own deep learning models to recognize and classify images Access deep learning models to classify the sentiment of text Predictive Vision Service Predictive Sentiment Service Predictive Sentiment Service Get started today! metamind.io Introducing: Predictive Vision & Sentiment Services

Editor's Notes

  1. Talk track And today we are excited to announce Salesforce Einstein. Einstein is bringing AI to Everyone. First, it makes the World’s #1 CRM the World’s Smartest CRM Second, Einstein empowers all our users - Sales, Service, Marketing, and IT - to be their best and be smarter about their customers. And finally, we went beyond the apps and extended Einstein to our platform so everyone can build AI Powered apps. ### more copy ### The power of Einstein comes from combining our leadership in cloud technology with this comprehensive set of technologies that we acquired or built - machine learning, deep learning, smart discovery and NLP. When applied to customer data and a deep understanding of the customer experience we will make our apps smarter, and have Intelligence built into Salesforce. Namely: • Sales users can prospect better, improve forecasting, and automate routine tasks • Service users can leverage IoT, intelligent communities, and aided case recommendations to deliver new levels of service • Marketing users can personalize campaigns so every customer receives the right content on the right channel at the right time