SlideShare una empresa de Scribd logo
1 de 35
Байесовские сети и их приложения.  Смирнова Н.В. ИПУ РАН ,  2011
БС :  мотивация к использованию ,[object Object],[object Object],[object Object]
Содержание доклада ,[object Object],[object Object],[object Object]
Определение БС - 1 БС – графическая вероятностная модель A, B  булевские (принимают значения из  {true, false} (могут быть непрерывными ,  дискретными)  A B
Используемые обозначения - 1 - вектор , Априорная вероятность всех возможных значений  сл. величины :
Используемые обозначения - 2 -  вектор ,  полное совместное распределение случайных величин
Основные вероятностные вопросы к БС A B «добрый» «толстый» С «любит  покушать» «От причин к следствиям» «От следствий к причинам» «Имеют место  одновременно»
Таблицы условных вероятностей (параметры БС)-2 A B Таблицы условных или безусловных вероятностей в БС можно представить более компактно
Таблицы условных вероятностей (параметры БС)-1 A B Каждому узлу БС приписывается таблица условных или безусловных вероятностей
Таблицы условных вероятностей (параметры БС)-3 A B БС с «компактными» таблицами условной и безусловной вероятности
Основные формулы байесовского подхода (1) (2) (3) (4) (5) (6) (опр. усл. вер.) (из 1) (из 1) (из 2 ,  3) (теорема Байеса ,  из 4) (ф-ла полн. вер. ,  из 5)
Вероятностные вопросы к БС-1 A B «добрый» «толстый» С «любит  покушать»
Вероятностные вопросы к БС-2 Поскольку вероятность    любого высказывания  A     равна   сумме вероятностей атомарных событий ,  где    A=true,  то A B C имеем : Возможные события : Как найти величину типа
Вероятностные вопросы к БС-3 Parents(X 1 ) С помощью … Поскольку в БС Теорема о декомпозиции :
Вероятностные вопросы к БС-4 В силу теоремы о декомпозиции , Например ,  это означает ,  что :
Вероятностные вопросы к БС-5 A B C Возвращаясь к нашему примеру ,  имеем :
Вероятностные вопросы к БС-6 Итак ,  мы вычислили ,  что   A B «добрый» «толстый» С «любит  покушать»
Вероятностные вопросы к БС-7 A B «добрый» «толстый» С «любит  покушать»
Вероятностные вопросы к БС-8 Согласно опр. усл. вер. ,  A B C (полн. вер.) Надо вычислить 6 величин вида Причем некоторые повторяются. Нельзя ли сэкономить ?
Вероятностные вопросы к БС-9 Можно. Существует прием «нормализация»   Было нужно вычислить 6 величин ,  теперь 4 : 2 2 Экономия вычислений очевидна.
Вероятностные вопросы к БС-10 A B C Возвращаясь к нашему примеру ,  имеем :
Вероятностные вопросы к БС-11 Итак ,  мы вычислили ,  что   A B «добрый» «толстый» С «любит  покушать»
Вероятностные вопросы к БС-12 A B «добрый» «толстый» С «любит  покушать»
Вероятностные вопросы к БС-13 Согласно опр. усл. вер. ,  A B C Этот пример сводится к предыдущему  (вычисляется аналогично)
Вероятностные вопросы к БС-14 Односвязная сеть (сложность линейная) A B C В примере максимум понадобилось вычислить   4 величины Основные типы вопросов
Вероятностные вопросы к БС-15 Многосвязная сеть (в общем случае вывод  NP- труден) Здесь нужно  вычислить уже 32 величины!
Наивный байесовский классификатор Предполагается ,  что  независимы ,  т.е.  С Fn F 1 … (вероятности принадлежности наблюдения к одному из классов  C  при условии того ,  что зависимые пер-ые принимают заданные значения
Наивный байесовский классификатор. Фильтрация спама offer is secret click secret link secret sports link SPAM play sports today went play sports secret sports event sports is today sport costs money HAM Message w n w 1 … secret is secret w 1 w 2 w 3 Dictionary {offer, is, secret,…,money} 12  слов
Наивный байесовский классификатор. Обучение-1 Обучение происходит с использованием следующей формулы ( “Laplacian smoothing”): -  сглаживающий параметр. Задаем сами -  количество примеров для обучения -  количество примеров ,  в которых  -  количество возможных значений
Наивный байесовский классификатор. Обучение-2 offer is secret click secret link secret sports link SPAM play sports today went play sports secret sports event sports is today sport costs money HAM Message w n w 1 … Пусть  ,  тогда
Наивный байесовский классификатор. Обучение-3 offer is secret click secret link secret sports link SPAM play sports today went play sports secret sports event sports is today sport costs money HAM Message w n w 1 … Пусть  ,  тогда
Наивный байесовский классификатор. Использование-1 Пусть получено сообщение  M= « today is secret » M= « today is secret » w 1 w 2 w 3 w 3 w 1 … spam w 2 аналогично вычисляется
Наивный байесовский классификатор. Использование-2 где  M= « today is secret »  w 3 w 1 … spam w 2 Пусть Тогда
СММ и БС СММ определяется как БС следующего вида : … Последовательность скрытых состояний , изменяющихся с течением времени Каждое состояние зависит только от предыдущего Для каждого состояния известно измерение (наблюдение) в соотв. момент времени Параметры :  «модель перехода» «модель наблюдения»
Спасибо за внимание!

Más contenido relacionado

Destacado

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
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 2024Neil 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 2024Albert 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 InsightsKurio // 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 2024Search 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 summarySpeakerHub
 
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 IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit 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 managementMindGenius
 
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
 

Destacado (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
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...
 

байесовские сети и их приложения