SlideShare a Scribd company logo
1 of 15
Markov Chains and Hidden Markov Algorithms
By
Karthik Guruswamy
• Wikipedia definition
– A stochastic model describing a sequence of possible events in which the probability
of each event depends only on the state attained in the previous event
• Simple explanation
– A sequence is a chain made up of mini event transitions
• We use Markov Chains for a discriminate model (Supervised)
Markov Chains
• Customer Journeys
Markov Chains - Example
View Account
Summary
View Deposit
Details
FAQ Account History Account History View Account
Summary
Account History View Account
Summary
Fund Transfer Fund Transfer Bill Pay Form Bill Pay
Enrollment
Favorable Outcome !
• BILL PAY ENROLLMENT
Transition Probabilities with Adjacency Matrix (Training)
AH AS BPF BPI CS FAQ FT OSE PU VDD
AH 0.012 0.016 0.02 0.007 0.005 0.014 0.011 0.008 0.001 0.016
AS 0.036 0.038 0.057 0.010 0.020 0.030 0.038 0.008 0.016 0.040
BPF 0.001 0.004 0.007 0.000 0.007 0.002 0.004 0.002 0.000 0.002
BPI 0.006 0.005 0.000 0.012 0.001 0.005 0.008 0.004 0.001 0.012
CS 0.007 0.007 0.012 0.006 0.000 0.007 0.004 0.007 0.002 0.006
FAQ 0.011 0.018 0.028 0.005 0.005 0.018 0.013 0.004 0.002 0.018
FT 0.011 0.016 0.024 0.005 0.005 0.014 0.013 0.006 0.010 0.016
OSE 0.006 0.010 0.007 0.004 0.004 0.010 0.004 0.000 0.002 0.005
PU 0.007 0.001 0.006 0.000 0.006 0.002 0.007 0.002 0.000 0.006
VDD 0.018 0.016 0.029 0.007 0.004 0.017 0.012 0.007 0.005 0.012
Small values will replace zero values to make the chain “Ergodic”
• <NOT> BILL PAY ENROLLMENT
Transition Probabilities with Adjacency Matrix (Training)
AH AS BPF BPI CS FAQ FT OSE PU VDD
AH 0.026 0.027 0.000 0.001 0.004 0.027 0.027 0.003 0.004 0.27
AS 0.059 0.058 0.000 0.002 0.012 0.059 0.057 0.011 0.012 0.058
BPF 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000
BPI 0.001 0.001 0.000 0.001 0.000 0.001 0.001 0.000 0.000 0.001
CS 0.005 0.004 0.000 0.000 0.000 0.005 0.004 0.002 0.002 0.005
FAQ 0.027 0.026 0.000 0.001 0.004 0.027 0.027 0.004 0.004 0.028
FT 0.026 0.027 0.000 0.001 0.004 0.027 0.027 0.004 0.003 0.028
OSE 0.004 0.004 0.000 0.000 0.002 0.004 0.004 0.000 0.002 0.004
PU 0.004 0.004 0.000 0.000 0.002 0.004 0.004 0.002 0.000 0.004
VDD 0.027 0.029 0.000 0.001 0.003 0.026 0.027 0.004 0.004 0.027
Small values will replace zero values to make the chain “Ergodic”
• What’s the likelihood that these event sequences will lead to Bill Pay
Enrollment ?
Markov Chains - Prediction
View Account
Summary
View Deposit
Details
FAQ Account History View Account
Summary
Fund Transfer
View Account
Summary
Account HistoryFund Transfer View Deposit
Details
Bill Pay FormFAQ
Bill Pay
Enrollment
???
Observable States
• What’s the likelihood that these “unknown” event sequences/path will lead to
Bill Pay Enrollment ?
Markov Chains – Simple Prediction
View Account
Summary
View Deposit
Details
FAQ Account History View Account
Summary
Fund Transfer
View Account
Summary
Account HistoryFund Transfer View Deposit
Details
Bill Pay FormFAQ
Bill Pay
Enrollment
???
Log Odds Ratio = SUM(LOG(P[Xi|Xi-1] for
BPF) – SUM(LOG(P[Xi|Xi-1] for NOT BPF)
i > 1
-1.35
4.80
Bimodal Distribution of Scores
Score
-9 -8 -7 -6 -5 -4 -3 -2 -1 0 1 2 3 4 5 6 7 8 9 10
# of sequences scored
CONFUSION
Bill Pay Enrollment
Sequences
Non-Bill Pay Enrollment
Sequences
• Find Optimal Markov Order. Test 2,3,4 etc.,
• Binary Classification -> K Class through multiple model scoring
• Regularization Technique for sequence lengths variability
• Mutual Information Score filters
• Stacked Ensemble with a Second Classifier built on multi-model MC Scores
• Models exported to Real Time for Scoring
Markov Chains Implementation – Advanced
• A Hidden Markov model (HMM) is a statistical Markov model in which the
system being modeled is assumed to be a Markov process with unobserved
(hidden) states
• In Markov Chains, the state is directly visible to the observer, and therefore the
state transition probabilities are the only parameters. In hidden Markov model,
the state is not directly visible, but the output, dependent on the state is visible!
• HMM is commonly useful as a generative model (Unsupervised)
Hidden Markov Model
Hidden Markov Models- Example
View Account
Summary
View Deposit
Details
FAQ Account History Account History View Account
Summary
Account History View Account
Summary
Fund Transfer Fund Transfer Bill Pay Form Bill Pay
Enrollment
Observable States
H1 H1 H2 H3 H3 H1
H1 H1 H4 H4 H5 H5
Hidden
States
Hidden
States
Hidden Markov Model – Transitions & Emissions
(5 Unsupervised Hidden States)
H1
H2
H3
H4
H5
View Account
Summary
View Deposit
Details
Account History
FAQ
Account
History
Fund Transfer
Bill Pay Form
Bill Pay
Enrollment
Fund Transfer
View Account
Summary
View Deposit
Details
30 %
25 %
30 %
40 %
20 %
80 %
40 %
40 %
10 %
• What’s the likelihood that these “unknown” event sequences will lead to Bill
Pay Enrollment ?
Hidden Markov Model – Sequence Prediction
View Account
Summary
View Deposit
Details
FAQ Account History View Account
Summary
Fund Transfer
View Account
Summary
Account HistoryFund Transfer View Deposit
Details
Bill Pay FormFAQ
Bill Pay
Enrollment
???
FORWARD ALGORITHM + MODEL
20%
80%
• Can generate deep EXPLAINABILITY into
Customer Journey
• More accuracy than Markov Chains, but relatively
time consuming to train AND score a big data set.
- Great for batch scoring
Hidden Markov Model
© Clement Fredembach, Michelle Tanco
Teradata Data Scientists
Teradata Analytics Meet @ Linkedin -  May 2017

More Related Content

Similar to Teradata Analytics Meet @ Linkedin - May 2017

dokumen.tips_collaborate12-baugh-r12-federal-financials-subledger-accounting-...
dokumen.tips_collaborate12-baugh-r12-federal-financials-subledger-accounting-...dokumen.tips_collaborate12-baugh-r12-federal-financials-subledger-accounting-...
dokumen.tips_collaborate12-baugh-r12-federal-financials-subledger-accounting-...
sarfrajahamad1
 
Bank Reconciliation example
Bank Reconciliation exampleBank Reconciliation example
Bank Reconciliation example
Debra Hoagland
 

Similar to Teradata Analytics Meet @ Linkedin - May 2017 (20)

Verifying Deadlock and Livelock Freedom in an SOA Scenario
Verifying Deadlock and Livelock Freedom in an SOA ScenarioVerifying Deadlock and Livelock Freedom in an SOA Scenario
Verifying Deadlock and Livelock Freedom in an SOA Scenario
 
Big Data mit Microsoft?
Big Data mit Microsoft?Big Data mit Microsoft?
Big Data mit Microsoft?
 
CE541-F14-Bhobe-Jain
CE541-F14-Bhobe-JainCE541-F14-Bhobe-Jain
CE541-F14-Bhobe-Jain
 
SAP WM ONLINE TRAINING
SAP WM ONLINE TRAININGSAP WM ONLINE TRAINING
SAP WM ONLINE TRAINING
 
Online shopping cart system file
Online shopping cart system fileOnline shopping cart system file
Online shopping cart system file
 
unified modeling language diagrams
unified modeling language diagramsunified modeling language diagrams
unified modeling language diagrams
 
dokumen.tips_collaborate12-baugh-r12-federal-financials-subledger-accounting-...
dokumen.tips_collaborate12-baugh-r12-federal-financials-subledger-accounting-...dokumen.tips_collaborate12-baugh-r12-federal-financials-subledger-accounting-...
dokumen.tips_collaborate12-baugh-r12-federal-financials-subledger-accounting-...
 
working capital manegment
working capital manegmentworking capital manegment
working capital manegment
 
Checks Collection Solution
Checks Collection SolutionChecks Collection Solution
Checks Collection Solution
 
GF-CAP AA CHANGES
GF-CAP AA CHANGESGF-CAP AA CHANGES
GF-CAP AA CHANGES
 
GF-CAP AA CHANGES
GF-CAP AA CHANGESGF-CAP AA CHANGES
GF-CAP AA CHANGES
 
sales and distribution process Business blue print of Auto Spares n Accessori...
sales and distribution process Business blue print of Auto Spares n Accessori...sales and distribution process Business blue print of Auto Spares n Accessori...
sales and distribution process Business blue print of Auto Spares n Accessori...
 
SAP Project system.pptx
SAP Project system.pptxSAP Project system.pptx
SAP Project system.pptx
 
Leveraging milestone-monitors-for-visibility-at-cisco otm-sig_2013_final
Leveraging milestone-monitors-for-visibility-at-cisco otm-sig_2013_finalLeveraging milestone-monitors-for-visibility-at-cisco otm-sig_2013_final
Leveraging milestone-monitors-for-visibility-at-cisco otm-sig_2013_final
 
Bank reconciliation example
Bank reconciliation exampleBank reconciliation example
Bank reconciliation example
 
Bank Reconciliation example
Bank Reconciliation exampleBank Reconciliation example
Bank Reconciliation example
 
Test framework for a semantic standard
Test framework for a semantic standardTest framework for a semantic standard
Test framework for a semantic standard
 
SOP- Change request
SOP- Change requestSOP- Change request
SOP- Change request
 
Embarcadero In Search of Plan Stability Part 1 Webinar Slides
Embarcadero In Search of Plan Stability Part 1 Webinar SlidesEmbarcadero In Search of Plan Stability Part 1 Webinar Slides
Embarcadero In Search of Plan Stability Part 1 Webinar Slides
 
What leaves and violins say about the evolutionary forces that shape us and o...
What leaves and violins say about the evolutionary forces that shape us and o...What leaves and violins say about the evolutionary forces that shape us and o...
What leaves and violins say about the evolutionary forces that shape us and o...
 

Recently uploaded

obat aborsi Bontang wa 081336238223 jual obat aborsi cytotec asli di Bontang6...
obat aborsi Bontang wa 081336238223 jual obat aborsi cytotec asli di Bontang6...obat aborsi Bontang wa 081336238223 jual obat aborsi cytotec asli di Bontang6...
obat aborsi Bontang wa 081336238223 jual obat aborsi cytotec asli di Bontang6...
yulianti213969
 
如何办理哥伦比亚大学毕业证(Columbia毕业证)成绩单原版一比一
如何办理哥伦比亚大学毕业证(Columbia毕业证)成绩单原版一比一如何办理哥伦比亚大学毕业证(Columbia毕业证)成绩单原版一比一
如何办理哥伦比亚大学毕业证(Columbia毕业证)成绩单原版一比一
fztigerwe
 
Audience Researchndfhcvnfgvgbhujhgfv.pptx
Audience Researchndfhcvnfgvgbhujhgfv.pptxAudience Researchndfhcvnfgvgbhujhgfv.pptx
Audience Researchndfhcvnfgvgbhujhgfv.pptx
Stephen266013
 
如何办理(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单本科硕士学位证留信学历认证如何办理(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单本科硕士学位证留信学历认证
acoha1
 
Displacement, Velocity, Acceleration, and Second Derivatives
Displacement, Velocity, Acceleration, and Second DerivativesDisplacement, Velocity, Acceleration, and Second Derivatives
Displacement, Velocity, Acceleration, and Second Derivatives
23050636
 
edited gordis ebook sixth edition david d.pdf
edited gordis ebook sixth edition david d.pdfedited gordis ebook sixth edition david d.pdf
edited gordis ebook sixth edition david d.pdf
great91
 
如何办理英国卡迪夫大学毕业证(Cardiff毕业证书)成绩单留信学历认证
如何办理英国卡迪夫大学毕业证(Cardiff毕业证书)成绩单留信学历认证如何办理英国卡迪夫大学毕业证(Cardiff毕业证书)成绩单留信学历认证
如何办理英国卡迪夫大学毕业证(Cardiff毕业证书)成绩单留信学历认证
ju0dztxtn
 
如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单学位证留信学历认证原件一样
如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单学位证留信学历认证原件一样如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单学位证留信学历认证原件一样
如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单学位证留信学历认证原件一样
jk0tkvfv
 
1:1原版定制伦敦政治经济学院毕业证(LSE毕业证)成绩单学位证书留信学历认证
1:1原版定制伦敦政治经济学院毕业证(LSE毕业证)成绩单学位证书留信学历认证1:1原版定制伦敦政治经济学院毕业证(LSE毕业证)成绩单学位证书留信学历认证
1:1原版定制伦敦政治经济学院毕业证(LSE毕业证)成绩单学位证书留信学历认证
dq9vz1isj
 
如何办理加州大学伯克利分校毕业证(UCB毕业证)成绩单留信学历认证
如何办理加州大学伯克利分校毕业证(UCB毕业证)成绩单留信学历认证如何办理加州大学伯克利分校毕业证(UCB毕业证)成绩单留信学历认证
如何办理加州大学伯克利分校毕业证(UCB毕业证)成绩单留信学历认证
a8om7o51
 

Recently uploaded (20)

obat aborsi Bontang wa 081336238223 jual obat aborsi cytotec asli di Bontang6...
obat aborsi Bontang wa 081336238223 jual obat aborsi cytotec asli di Bontang6...obat aborsi Bontang wa 081336238223 jual obat aborsi cytotec asli di Bontang6...
obat aborsi Bontang wa 081336238223 jual obat aborsi cytotec asli di Bontang6...
 
Predictive Precipitation: Advanced Rain Forecasting Techniques
Predictive Precipitation: Advanced Rain Forecasting TechniquesPredictive Precipitation: Advanced Rain Forecasting Techniques
Predictive Precipitation: Advanced Rain Forecasting Techniques
 
Data Analysis Project Presentation : NYC Shooting Cluster Analysis
Data Analysis Project Presentation : NYC Shooting Cluster AnalysisData Analysis Project Presentation : NYC Shooting Cluster Analysis
Data Analysis Project Presentation : NYC Shooting Cluster Analysis
 
Seven tools of quality control.slideshare
Seven tools of quality control.slideshareSeven tools of quality control.slideshare
Seven tools of quality control.slideshare
 
如何办理哥伦比亚大学毕业证(Columbia毕业证)成绩单原版一比一
如何办理哥伦比亚大学毕业证(Columbia毕业证)成绩单原版一比一如何办理哥伦比亚大学毕业证(Columbia毕业证)成绩单原版一比一
如何办理哥伦比亚大学毕业证(Columbia毕业证)成绩单原版一比一
 
The Significance of Transliteration Enhancing
The Significance of Transliteration EnhancingThe Significance of Transliteration Enhancing
The Significance of Transliteration Enhancing
 
Audience Researchndfhcvnfgvgbhujhgfv.pptx
Audience Researchndfhcvnfgvgbhujhgfv.pptxAudience Researchndfhcvnfgvgbhujhgfv.pptx
Audience Researchndfhcvnfgvgbhujhgfv.pptx
 
Digital Marketing Demystified: Expert Tips from Samantha Rae Coolbeth
Digital Marketing Demystified: Expert Tips from Samantha Rae CoolbethDigital Marketing Demystified: Expert Tips from Samantha Rae Coolbeth
Digital Marketing Demystified: Expert Tips from Samantha Rae Coolbeth
 
如何办理(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单本科硕士学位证留信学历认证如何办理(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单本科硕士学位证留信学历认证
 
Displacement, Velocity, Acceleration, and Second Derivatives
Displacement, Velocity, Acceleration, and Second DerivativesDisplacement, Velocity, Acceleration, and Second Derivatives
Displacement, Velocity, Acceleration, and Second Derivatives
 
Northern New England Tableau User Group (TUG) May 2024
Northern New England Tableau User Group (TUG) May 2024Northern New England Tableau User Group (TUG) May 2024
Northern New England Tableau User Group (TUG) May 2024
 
Identify Customer Segments to Create Customer Offers for Each Segment - Appli...
Identify Customer Segments to Create Customer Offers for Each Segment - Appli...Identify Customer Segments to Create Customer Offers for Each Segment - Appli...
Identify Customer Segments to Create Customer Offers for Each Segment - Appli...
 
Bios of leading Astrologers & Researchers
Bios of leading Astrologers & ResearchersBios of leading Astrologers & Researchers
Bios of leading Astrologers & Researchers
 
edited gordis ebook sixth edition david d.pdf
edited gordis ebook sixth edition david d.pdfedited gordis ebook sixth edition david d.pdf
edited gordis ebook sixth edition david d.pdf
 
如何办理英国卡迪夫大学毕业证(Cardiff毕业证书)成绩单留信学历认证
如何办理英国卡迪夫大学毕业证(Cardiff毕业证书)成绩单留信学历认证如何办理英国卡迪夫大学毕业证(Cardiff毕业证书)成绩单留信学历认证
如何办理英国卡迪夫大学毕业证(Cardiff毕业证书)成绩单留信学历认证
 
Formulas dax para power bI de microsoft.pdf
Formulas dax para power bI de microsoft.pdfFormulas dax para power bI de microsoft.pdf
Formulas dax para power bI de microsoft.pdf
 
SCI8-Q4-MOD11.pdfwrwujrrjfaajerjrajrrarj
SCI8-Q4-MOD11.pdfwrwujrrjfaajerjrajrrarjSCI8-Q4-MOD11.pdfwrwujrrjfaajerjrajrrarj
SCI8-Q4-MOD11.pdfwrwujrrjfaajerjrajrrarj
 
如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单学位证留信学历认证原件一样
如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单学位证留信学历认证原件一样如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单学位证留信学历认证原件一样
如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单学位证留信学历认证原件一样
 
1:1原版定制伦敦政治经济学院毕业证(LSE毕业证)成绩单学位证书留信学历认证
1:1原版定制伦敦政治经济学院毕业证(LSE毕业证)成绩单学位证书留信学历认证1:1原版定制伦敦政治经济学院毕业证(LSE毕业证)成绩单学位证书留信学历认证
1:1原版定制伦敦政治经济学院毕业证(LSE毕业证)成绩单学位证书留信学历认证
 
如何办理加州大学伯克利分校毕业证(UCB毕业证)成绩单留信学历认证
如何办理加州大学伯克利分校毕业证(UCB毕业证)成绩单留信学历认证如何办理加州大学伯克利分校毕业证(UCB毕业证)成绩单留信学历认证
如何办理加州大学伯克利分校毕业证(UCB毕业证)成绩单留信学历认证
 

Teradata Analytics Meet @ Linkedin - May 2017

  • 1. Markov Chains and Hidden Markov Algorithms By Karthik Guruswamy
  • 2. • Wikipedia definition – A stochastic model describing a sequence of possible events in which the probability of each event depends only on the state attained in the previous event • Simple explanation – A sequence is a chain made up of mini event transitions • We use Markov Chains for a discriminate model (Supervised) Markov Chains
  • 3. • Customer Journeys Markov Chains - Example View Account Summary View Deposit Details FAQ Account History Account History View Account Summary Account History View Account Summary Fund Transfer Fund Transfer Bill Pay Form Bill Pay Enrollment Favorable Outcome !
  • 4. • BILL PAY ENROLLMENT Transition Probabilities with Adjacency Matrix (Training) AH AS BPF BPI CS FAQ FT OSE PU VDD AH 0.012 0.016 0.02 0.007 0.005 0.014 0.011 0.008 0.001 0.016 AS 0.036 0.038 0.057 0.010 0.020 0.030 0.038 0.008 0.016 0.040 BPF 0.001 0.004 0.007 0.000 0.007 0.002 0.004 0.002 0.000 0.002 BPI 0.006 0.005 0.000 0.012 0.001 0.005 0.008 0.004 0.001 0.012 CS 0.007 0.007 0.012 0.006 0.000 0.007 0.004 0.007 0.002 0.006 FAQ 0.011 0.018 0.028 0.005 0.005 0.018 0.013 0.004 0.002 0.018 FT 0.011 0.016 0.024 0.005 0.005 0.014 0.013 0.006 0.010 0.016 OSE 0.006 0.010 0.007 0.004 0.004 0.010 0.004 0.000 0.002 0.005 PU 0.007 0.001 0.006 0.000 0.006 0.002 0.007 0.002 0.000 0.006 VDD 0.018 0.016 0.029 0.007 0.004 0.017 0.012 0.007 0.005 0.012 Small values will replace zero values to make the chain “Ergodic”
  • 5. • <NOT> BILL PAY ENROLLMENT Transition Probabilities with Adjacency Matrix (Training) AH AS BPF BPI CS FAQ FT OSE PU VDD AH 0.026 0.027 0.000 0.001 0.004 0.027 0.027 0.003 0.004 0.27 AS 0.059 0.058 0.000 0.002 0.012 0.059 0.057 0.011 0.012 0.058 BPF 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 BPI 0.001 0.001 0.000 0.001 0.000 0.001 0.001 0.000 0.000 0.001 CS 0.005 0.004 0.000 0.000 0.000 0.005 0.004 0.002 0.002 0.005 FAQ 0.027 0.026 0.000 0.001 0.004 0.027 0.027 0.004 0.004 0.028 FT 0.026 0.027 0.000 0.001 0.004 0.027 0.027 0.004 0.003 0.028 OSE 0.004 0.004 0.000 0.000 0.002 0.004 0.004 0.000 0.002 0.004 PU 0.004 0.004 0.000 0.000 0.002 0.004 0.004 0.002 0.000 0.004 VDD 0.027 0.029 0.000 0.001 0.003 0.026 0.027 0.004 0.004 0.027 Small values will replace zero values to make the chain “Ergodic”
  • 6. • What’s the likelihood that these event sequences will lead to Bill Pay Enrollment ? Markov Chains - Prediction View Account Summary View Deposit Details FAQ Account History View Account Summary Fund Transfer View Account Summary Account HistoryFund Transfer View Deposit Details Bill Pay FormFAQ Bill Pay Enrollment ??? Observable States
  • 7. • What’s the likelihood that these “unknown” event sequences/path will lead to Bill Pay Enrollment ? Markov Chains – Simple Prediction View Account Summary View Deposit Details FAQ Account History View Account Summary Fund Transfer View Account Summary Account HistoryFund Transfer View Deposit Details Bill Pay FormFAQ Bill Pay Enrollment ??? Log Odds Ratio = SUM(LOG(P[Xi|Xi-1] for BPF) – SUM(LOG(P[Xi|Xi-1] for NOT BPF) i > 1 -1.35 4.80
  • 8. Bimodal Distribution of Scores Score -9 -8 -7 -6 -5 -4 -3 -2 -1 0 1 2 3 4 5 6 7 8 9 10 # of sequences scored CONFUSION Bill Pay Enrollment Sequences Non-Bill Pay Enrollment Sequences
  • 9. • Find Optimal Markov Order. Test 2,3,4 etc., • Binary Classification -> K Class through multiple model scoring • Regularization Technique for sequence lengths variability • Mutual Information Score filters • Stacked Ensemble with a Second Classifier built on multi-model MC Scores • Models exported to Real Time for Scoring Markov Chains Implementation – Advanced
  • 10. • A Hidden Markov model (HMM) is a statistical Markov model in which the system being modeled is assumed to be a Markov process with unobserved (hidden) states • In Markov Chains, the state is directly visible to the observer, and therefore the state transition probabilities are the only parameters. In hidden Markov model, the state is not directly visible, but the output, dependent on the state is visible! • HMM is commonly useful as a generative model (Unsupervised) Hidden Markov Model
  • 11. Hidden Markov Models- Example View Account Summary View Deposit Details FAQ Account History Account History View Account Summary Account History View Account Summary Fund Transfer Fund Transfer Bill Pay Form Bill Pay Enrollment Observable States H1 H1 H2 H3 H3 H1 H1 H1 H4 H4 H5 H5 Hidden States Hidden States
  • 12. Hidden Markov Model – Transitions & Emissions (5 Unsupervised Hidden States) H1 H2 H3 H4 H5 View Account Summary View Deposit Details Account History FAQ Account History Fund Transfer Bill Pay Form Bill Pay Enrollment Fund Transfer View Account Summary View Deposit Details 30 % 25 % 30 % 40 % 20 % 80 % 40 % 40 % 10 %
  • 13. • What’s the likelihood that these “unknown” event sequences will lead to Bill Pay Enrollment ? Hidden Markov Model – Sequence Prediction View Account Summary View Deposit Details FAQ Account History View Account Summary Fund Transfer View Account Summary Account HistoryFund Transfer View Deposit Details Bill Pay FormFAQ Bill Pay Enrollment ??? FORWARD ALGORITHM + MODEL 20% 80%
  • 14. • Can generate deep EXPLAINABILITY into Customer Journey • More accuracy than Markov Chains, but relatively time consuming to train AND score a big data set. - Great for batch scoring Hidden Markov Model © Clement Fredembach, Michelle Tanco Teradata Data Scientists