25
How Machine Learning Can Transform The Customer Experience Evren Korpeoglu, Data Science Aarthi Srinivasan, Product Management /Productschool @ProdSchool /ProductmanagementS

How Machine Learning Can Transform The Customer Experience

Embed Size (px)

Citation preview

Page 1: How Machine Learning Can Transform The Customer Experience

How Machine Learning Can Transform The Customer ExperienceEvren Korpeoglu, Data Science

Aarthi Srinivasan, Product Management

/Productschool @ProdSchool /ProductmanagementSV

Page 2: How Machine Learning Can Transform The Customer Experience

Aarthi Srinivasan- Walmart Labs- 12+ years of combined experience in product

management, consulting and engineering- MBA & MS in Computer Science

www.productschool.com

INTRODUCTIONSEvren Korpeoglu- Walmart Labs Data Scientist- Machine Learning, Big Data, Statistical Modeling

& Optimization for powering real-time Experiences

- Ph.D. Operations Research

Page 3: How Machine Learning Can Transform The Customer Experience

3

What to Expect Today?• What is machine learning ?

• Why is it important ?

• How do we use it ?

• Technical Concepts• Examples

Page 4: How Machine Learning Can Transform The Customer Experience

What is Machine Learning?

4

1. Science of getting computers to learn or recognize something without being explicitly programmed – Andrew Ng

• Branch of Artificial Intelligence which is a branch of Computer Science• Give lots of data to the computer so that it can figure it out• One of the first examples is the computer checkers program by Arthur Samuel

* - ref: Andew Ng Courses, Big data: A revolution

2. Distinguish big data & machine learning: Big data is the data seed for creating machine learning forests• Big data collects information based on our digital exhaust (crumbs we leave in

the digital world) , demographics, preferences, health etc. • Machine learning will mine this data and model behaviors with interactive

responses based based on this data

Page 5: How Machine Learning Can Transform The Customer Experience

5

Why do we need this?1. Tons of applications impacting human health, utility and simplification

Health & Wellness Utilitarian Futuristic

• DNA sampling & diagnosis

• Health reminders & prevention through AI tools

• Correlation studies • Personalized

medicine tablets, diets

• Real time optimized path maps

• Search Ranking• Spam filter on email• News aggregators• Shopping

Recommendation

• Facebook face recognition

• Age recognition (How-old.net)

• Voice recognition – Siri, Alexa

• Driverless cars • Home decoration

Page 6: How Machine Learning Can Transform The Customer Experience

6

Key Terms• A set of data used to predict relationships. Data and answers for each

sample. • E.g. A diamond’s size, cut, color and clarity helps predicts the price.

Training Set

• Uses training set to make a prediction.• E.g. Model predicts diamond prices based on past prices.Supervised Learning

• Provide data without suggesting anything so computer can identify patterns or groupings.

• E.g. Customer segmentation, DNA groupings.Unsupervised Learning

• Each distinct measurable data value you select in the training data set.• E.g. A diamonds’ size is one of the feature’s for predicting price.

Features/ Variables / Attributes

• Using the features provided in the training set make a prediction. Fit a curve using the data provided.

• E.g. Price of diamond = X*Cut + Y*Clarity + Z*Size + other features… Supervised: Regression

• A defined set of categories that can be labeled for placing new observations. • E.g. Presence of absence of cancer; Types of diabetesSupervised: Classification

• Process of assigning observations into subsets.• E.g. Customer segment creationsUnsupervised: Clustering

Page 7: How Machine Learning Can Transform The Customer Experience

Learning Steps

7

Collect / Update User

Data

1

Create / Update

Training Set data

2

Create / Update

algorithm for training data

Update Algorithm

Validate Algorithm

3Create

predictive model

4

New real-time observations

A/B Test & Launch on production

5

Page 8: How Machine Learning Can Transform The Customer Experience

8

Data Wrangling and Feature Extraction

Spam Email Detection

TitleSender Domain

# of Recipients

Email content

Country of Origin

Non-dictionary

Words

Hyperlinks

Address Book

Length of email

• Structured Data (Best)– RDBMS, columnar data– Strict Schema– SQL

• Semi-Structured Data (Better)– JSON, XML– Enforce minimum schema– JSON, XML Parser

• Unstructured Data– Text, Image, Raw email– No Schema– Batch processing– Regular expressions– Map Reduce

GARBAGE IN GARBAGE OUT

Page 9: How Machine Learning Can Transform The Customer Experience

9

Model Training

Feature Extraction(Feature vector)

NewText documents

User ActivityImages

Transaction history

Feature Extraction(Feature vector)

Labels

Machine Learning

Algorithm

Training / TestingText documents

User ActivityImages

Transaction history

Predictive Model

Expected Label

Model Evaluation

Page 10: How Machine Learning Can Transform The Customer Experience

10

Supervised learning techniques• Linear classifier (numerical functions)• Parametric (Probabilistic functions)

– Naïve Bayes, Hidden Markov models (HMM), Probabilistic graphical models

• Non-parametric (Instance-based functions) – K-nearest neighbors

• Non-metric (Symbolic functions) – Classification and regression tree (CART)

• Aggregation– Bagging (bootstrap + aggregation), Adaboost, Random

forest, Ensemble models

Page 11: How Machine Learning Can Transform The Customer Experience

11

Linear Classifiers• Logistic regression

– )

– w with minimum loss– Solve iteratively using gradient descent

• Support vector machine (SVM)– Maximum margin classifier

• Artificial Neural Networks– Inspired from how neurons work– Activation function (Sigmoid, ReLU etc.)– Deep Learning

Page 12: How Machine Learning Can Transform The Customer Experience

12

KNN / CART• K-Nearest Neighbors

– Find K nearest training examples– Majority vote– Easy to implement– Not scalable for real time predictions

• Classification and Regression Trees– Easy to interpret for small trees

• Random Forests– Ensemble of decision trees– Usually performs very good

Page 13: How Machine Learning Can Transform The Customer Experience

13

Unsupervised Learning• Clustering

– K-means clustering– Spectral clustering

• Dimensionality reduction – Principal component analysis (PCA) – Factor analysis

• Product Recommendations– Collaborative Filtering

• Association Rules– Market Basket Analysis

Page 14: How Machine Learning Can Transform The Customer Experience

14

Model Evaluation• Measure model performance

• Optimize model to improve prediction quality

– Feature selection– Hyperparameter tuning

• A/B Testing• Explore/Exploit

• http://en.wikipedia.org/wiki/Precision_and_recall

Page 15: How Machine Learning Can Transform The Customer Experience

15

Sample Architecture

-HADOOP- SPARK

PREDICTION ENGINE

REAL TIME DATA

SQL / NO SQLData Base

CLIENT MACHINE LEARNINGSYSTEM

Page 16: How Machine Learning Can Transform The Customer Experience

16

Health & Wellness Sen.se Mother (iOT)

Page 17: How Machine Learning Can Transform The Customer Experience

17

Amazon Echo & Personalization

Page 18: How Machine Learning Can Transform The Customer Experience

18

Houzz Visual Match Deep Learning

Page 19: How Machine Learning Can Transform The Customer Experience

19

Wal-Mart Testing Example

Page 20: How Machine Learning Can Transform The Customer Experience

20

Sample E-Commerce Applications1. Segment customers (E.g. Millennial college grads, Moms, New Dads, etc.)

2. Personalize experiences for segments (Moms will see unique customer layouts and promotional items compared to dads or teens who love video games)

3. Personalize marketing e-mail and even timing of e-mail delivery

4. Trigger experiences based on customer information or local events (e.g. shipping preferences, Events like birthdays or concerts)

5. Create a personalized basket based on previous purchases or life stage

6. Use BOTs to provide relevant information to users

7. Augmented reality - Provide personalized information for sale items

Page 22: How Machine Learning Can Transform The Customer Experience

22

Appendix

Page 23: How Machine Learning Can Transform The Customer Experience

Sample Personalization Highlights

Testing Results with test (2MM – 7MM pop)POV Personalized vs. No personalization Personalized POV increased conversion by x%.

POV White listed personalization vs. Full automation Desktop conversion increased by x%.

Layered POV vs. Static POV Conversion increased by x%, PVR increased by x%, Bounce reduced by x%.

Personalized carousels on the home page Increased conversion on Desktop users by x%

Personalized DTC vs. Curated Mother’s day carousel CTR increased by x%.

Page 24: How Machine Learning Can Transform The Customer Experience

Upcoming Courses

Silicon ValleyOctober Cohort

Weeknights: October 18th

Weekends: October 15th

Apply Atwww.productschool.com

www.productschool.com

Page 25: How Machine Learning Can Transform The Customer Experience

www.productschool.com

Upcoming Workshops

Rsvp On Eventbrite

Sept 28: Product Management Course - Info Session

Oct 5: From Building Products To Managing Them

Oct 12: Risk Management while creating great products: Why no one really cares and what happens because of that

Oct 19: Product Management Happy Hour