SlideShare a Scribd company logo
Hidden Markov Chains
Giảng viên: TS. Lê Thị Xuân Mai
Danh sách nhóm:
Lê Trọng Quân − 1011370
Nguyễn Văn Thảo − 1011388
Lục Hán Tường − 1011429
Mai Hoàng Dung − 1011405
Nguyễn Sư Phước − 1011364
Phạm Hữa Luân − 1011337
Lê Minh Chí − 1011111
Hidden Group Hidden Markov Chains Ngày 14 tháng 5 năm 2013 1 / 6
Markov Chains - Mô hình dự báo thời tiết
Giả sử chúng ta có ba trạng thái thời tiết
• Nắng (N)
• Mưa (M)
• Sương mù (S)
Giả sử thời tiết trong một ngày là không đổi, nghĩa là không chuyển
từ trạn thái này sang trạng thái khác.
Dự đoán thời tiết của ngày mai dựa trên các quan sát các trạng thái
thời tiết trong quá khứ.
Xây dựng mô hình thống kê dự đoán qn (Trạng thái thời tiết thứ n)
Trạng qn phụ thuộc vào trạng thái qn−1, qn−2, ..., q0.
Tìm xác suất có điều kiện P(qn|qn−1, qn−2, ..., q0)
Hidden Group Hidden Markov Chains Ngày 14 tháng 5 năm 2013 2 / 6
Mô hình dự báo thời tiết - Markov Chains
Giả sử chúng ta có bảng xác suất chuyển thời tiết như sau
Hình: Hình 1
Hidden Group Hidden Markov Chains Ngày 14 tháng 5 năm 2013 3 / 6
Mô hình dự báo thời tiết - Markov Chains
Từ bảng xác suất chuyển thời tiết ta vẽ được sơ đồ chuyển sau
Hình: Hình 2
[Hình 1]
Hidden Group Hidden Markov Chains Ngày 14 tháng 5 năm 2013 4 / 6
Ví dụ
VD1: Cho biết hôm nay trời nắng (N). Tính xác suất để ngày mai
trời nắng (N) và ngày mốt trời mưa (M).
Giải: Sử dụng giả thuyết Markov và bảng xác suất ta có:
P(q2 = N, q3 = M|q1 = N) = P(q3 = M|q2 = N, q1 = N) · P(q2 = N|q1 = N)
= P(q3 = M|q2 = N) · P(q2 = N|q1 = N)
= 0.05 · 0.8 = 0.04
Hidden Group Hidden Markov Chains Ngày 14 tháng 5 năm 2013 5 / 6
VD2: Giả sử thời tiết ngày hôm qua là mưa q1 = M và ngày hôm nay
là sương mù q2 = S. Tính xác suất ngày mai trời sẽ nắng q3 = N).
Giải: Sử dụng giả thuyết Markov và bảng xác suất ta có:
P(q3 = N|q2 = S, q1 = M) = P(q3 = N|q2 = S)
= 0.20
Hidden Group Hidden Markov Chains Ngày 14 tháng 5 năm 2013 6 / 6

More Related Content

Featured

PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
Christy Abraham Joy
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
Vit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
MindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
GetSmarter
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
Alireza Esmikhani
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
Project for Public Spaces & National Center for Biking and Walking
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
DevGAMM Conference
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
Erica Santiago
 

Featured (20)

PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
 

Hidden markov chains

  • 1. Hidden Markov Chains Giảng viên: TS. Lê Thị Xuân Mai Danh sách nhóm: Lê Trọng Quân − 1011370 Nguyễn Văn Thảo − 1011388 Lục Hán Tường − 1011429 Mai Hoàng Dung − 1011405 Nguyễn Sư Phước − 1011364 Phạm Hữa Luân − 1011337 Lê Minh Chí − 1011111 Hidden Group Hidden Markov Chains Ngày 14 tháng 5 năm 2013 1 / 6
  • 2. Markov Chains - Mô hình dự báo thời tiết Giả sử chúng ta có ba trạng thái thời tiết • Nắng (N) • Mưa (M) • Sương mù (S) Giả sử thời tiết trong một ngày là không đổi, nghĩa là không chuyển từ trạn thái này sang trạng thái khác. Dự đoán thời tiết của ngày mai dựa trên các quan sát các trạng thái thời tiết trong quá khứ. Xây dựng mô hình thống kê dự đoán qn (Trạng thái thời tiết thứ n) Trạng qn phụ thuộc vào trạng thái qn−1, qn−2, ..., q0. Tìm xác suất có điều kiện P(qn|qn−1, qn−2, ..., q0) Hidden Group Hidden Markov Chains Ngày 14 tháng 5 năm 2013 2 / 6
  • 3. Mô hình dự báo thời tiết - Markov Chains Giả sử chúng ta có bảng xác suất chuyển thời tiết như sau Hình: Hình 1 Hidden Group Hidden Markov Chains Ngày 14 tháng 5 năm 2013 3 / 6
  • 4. Mô hình dự báo thời tiết - Markov Chains Từ bảng xác suất chuyển thời tiết ta vẽ được sơ đồ chuyển sau Hình: Hình 2 [Hình 1] Hidden Group Hidden Markov Chains Ngày 14 tháng 5 năm 2013 4 / 6
  • 5. Ví dụ VD1: Cho biết hôm nay trời nắng (N). Tính xác suất để ngày mai trời nắng (N) và ngày mốt trời mưa (M). Giải: Sử dụng giả thuyết Markov và bảng xác suất ta có: P(q2 = N, q3 = M|q1 = N) = P(q3 = M|q2 = N, q1 = N) · P(q2 = N|q1 = N) = P(q3 = M|q2 = N) · P(q2 = N|q1 = N) = 0.05 · 0.8 = 0.04 Hidden Group Hidden Markov Chains Ngày 14 tháng 5 năm 2013 5 / 6
  • 6. VD2: Giả sử thời tiết ngày hôm qua là mưa q1 = M và ngày hôm nay là sương mù q2 = S. Tính xác suất ngày mai trời sẽ nắng q3 = N). Giải: Sử dụng giả thuyết Markov và bảng xác suất ta có: P(q3 = N|q2 = S, q1 = M) = P(q3 = N|q2 = S) = 0.20 Hidden Group Hidden Markov Chains Ngày 14 tháng 5 năm 2013 6 / 6