SlideShare a Scribd company logo
1 of 10
Bayesian Network
Pengertian Bayesian Network
• Bayesian Network adalah salah satu probabilistic graphical
model yang menggunakan Bayesian inference untuk
pengambilan keputusan (inferensi) probabilistik.
• Bayesian Network dibangun dari teori peluang dan teori graph
• Teori probabilistik  data
• Teori graf  merepresentasikan pola dari sekumpulan data
(hubungan sebab akibat diantara variabel–variable).
• Inferensi probabilistik didapatkan dengan menentukan joint
probability distribution (JPD) dari semua variabel yang dimodelkan.
Contoh penggunaan Bayesian Network
• Menggambarkan hubungan probabilistik antara penyakit dan gejala.
• Edge berarah merepresentasikan pengetahuan tentang hubungan
ketergantungan atau kebebasan antara variable domain dengan
persoalan yang dimodelkan.
• Pengetahuan tersebut direpresentasikan secara kualitatif
menggunakan struktur graf dan secara kuantitatif menggunakan
parameter–parameter numerik. Gejala
Penyakit
Dua bagian Bayesian Network
1. Struktur Graf
- Struktur graf bayesian network disebut dengan directed acyclic graph
(DAG) yaitu graf berarah yang tidak mengandung siklus.
- Node merepresentasikan variabel acak dan edge merepresentasikan
hubungan kebergantungan langsung (dapat pula diinterpretasikan
sebagai pengaruh (sebab–akibat) langsung antara variabel yang
dihubungkannya.
Dua bagian Bayesian Network
2. Himpunan Parameter
Himpunan parameter mendefinisikan distribusi probabilitas kondisional
untuk setiap variabel.
Conditional probability yaitu peluang suatu kejadian Y bila diketahui
kejadian X telah terjadi, dinotasikan dengan P(Y|X).
P(Xi|Ai) dimana Xi adalah variabel yang diasosiasikan dengan node dan
Ai adalah himpunan dari parent dalam graf.
Lebih lanjut tentang Bayesian Network
• Bayesian network dapat melakukan pengambilan keputusan
(inferensi) probabilistik.
• Inferensi probabilistik adalah memprediksi nilai variabel yang tidak
dapat diketahui secara langsung dengan menggunakan nilai–nilai
variabel lain yang telah diketahui.
• Inferensi probabilistik dapat dilakukan jika terlebih dahulu diperoleh
joint probabillity distribution (JPD) dari semua variabel yang
dimodelkan.
• JPD adalah probabilitas semua kejadian variabel yang terjadi secara
bersamaan.
• Inferensi probabilistik dapat dilakukan jika bayesian network telah
dibangun
Konstruksi Bayesian Network
• Jika hubungan antar variabel dan probabilitas nilai–nilai variabel
belum diketahui, maka bayesian network dibangun berdasarkan data
kejadian, disebut konstruksi bayesian network.
• Ada dua tahap mengonstruksi bayesian network, yaitu :
1. Konstruksi struktur (tahap kualitatif), yaitu mencari keterhubungan
antara variabel–variabel yang dimodelkan.
2. Estimasi parameter (tahap kuantitatif), yaitu menghitung nilai–nilai
probabilitas.
Konstruksi Bayesian Network
Bayesian
Network
Direct Acyclic
Graph
Estimasi
1. Prior
2. Conditional
Probability
3. Joint
Probability
4. Posterior
Probability
Setelah struktur bayesian network terbentuk, parameter (prior probability) dan hubungan ketergantungan
antara node (conditional probability) sudah ditentukan berdasar pengetahuan pakar, maka dapat dihitung
joint probability distribution. Setelah joint probability distribution didapat, selanjutnya dihitung posterior
probability.
Contoh
• 1% dari wanita berusia diatas 40 tahun mengidap kanker payudara.
80% dari wanita pengidap kanker payudara tersebut, mempunyai
hasil positif pada tes mamografi.
• 9.6% dari wanita yang tidak mengidap kanker juga menunjukkan hasil
positif pada tes mamografi.
• Berapakah kemungkinan wanita diatas 40 tahun dengan hasil tes
mamografi positif, akan mengidap kanker payudara
P(kanker payudara | tes mamografi positif)?
Kanker
Hasil Mammografi Ada Tidak ada
Positif 0,8 0,096
Negatif 0,2 0,904
Contoh
• Joint Probability dari Wanita berusia diatas 40 tahun
Kanker
Hasil Mammografi Ada Tidak ada
Positif 0,01 x 0,8 = 0,008 0,99 x 0,096 = 0,09504
Negatif 0,01 x 0,2 = 0,002 0,99 x 0,904 = 0,89496
P (kanker payudara | hasil tes mamografi positif) =
0,08
0,08+0,09504
= 0,07764
Kanker
Hasil Mammografi Ada Tidak ada
Positif 0,07764 1 - 0,07764
Negatif 1 – 0,99777 0,99777

More Related Content

Recently uploaded

MARIA NOVILIA BOISALA FASILITATOR PMM.pptx
MARIA NOVILIA BOISALA FASILITATOR PMM.pptxMARIA NOVILIA BOISALA FASILITATOR PMM.pptx
MARIA NOVILIA BOISALA FASILITATOR PMM.pptxmariaboisala21
 
Geologi Jawa Timur-Madura Kelompok 6.pdf
Geologi Jawa Timur-Madura Kelompok 6.pdfGeologi Jawa Timur-Madura Kelompok 6.pdf
Geologi Jawa Timur-Madura Kelompok 6.pdfAuliaAulia63
 
Sistem operasi adalah program yang bertindak sebagai perantara antara user de...
Sistem operasi adalah program yang bertindak sebagai perantara antara user de...Sistem operasi adalah program yang bertindak sebagai perantara antara user de...
Sistem operasi adalah program yang bertindak sebagai perantara antara user de...Shary Armonitha
 
UKURAN PENTYEBARAN DATA PPT KELOMPOK 2.pptx
UKURAN PENTYEBARAN DATA PPT KELOMPOK 2.pptxUKURAN PENTYEBARAN DATA PPT KELOMPOK 2.pptx
UKURAN PENTYEBARAN DATA PPT KELOMPOK 2.pptxzidanlbs25
 
Menggunakan Data matematika kelas 7.pptx
Menggunakan Data matematika kelas 7.pptxMenggunakan Data matematika kelas 7.pptx
Menggunakan Data matematika kelas 7.pptxImahMagwa
 
MATERI SESI 2 KONSEP ETIKA KOMUNIKASI.pptx
MATERI SESI 2 KONSEP ETIKA KOMUNIKASI.pptxMATERI SESI 2 KONSEP ETIKA KOMUNIKASI.pptx
MATERI SESI 2 KONSEP ETIKA KOMUNIKASI.pptxrikosyahputra0173
 
PENGENDALIAN MUTU prodi Blitar penting untuk dimiliki oleh masyarakat .pptx
PENGENDALIAN MUTU prodi Blitar penting untuk dimiliki oleh masyarakat .pptxPENGENDALIAN MUTU prodi Blitar penting untuk dimiliki oleh masyarakat .pptx
PENGENDALIAN MUTU prodi Blitar penting untuk dimiliki oleh masyarakat .pptxheru687292
 

Recently uploaded (7)

MARIA NOVILIA BOISALA FASILITATOR PMM.pptx
MARIA NOVILIA BOISALA FASILITATOR PMM.pptxMARIA NOVILIA BOISALA FASILITATOR PMM.pptx
MARIA NOVILIA BOISALA FASILITATOR PMM.pptx
 
Geologi Jawa Timur-Madura Kelompok 6.pdf
Geologi Jawa Timur-Madura Kelompok 6.pdfGeologi Jawa Timur-Madura Kelompok 6.pdf
Geologi Jawa Timur-Madura Kelompok 6.pdf
 
Sistem operasi adalah program yang bertindak sebagai perantara antara user de...
Sistem operasi adalah program yang bertindak sebagai perantara antara user de...Sistem operasi adalah program yang bertindak sebagai perantara antara user de...
Sistem operasi adalah program yang bertindak sebagai perantara antara user de...
 
UKURAN PENTYEBARAN DATA PPT KELOMPOK 2.pptx
UKURAN PENTYEBARAN DATA PPT KELOMPOK 2.pptxUKURAN PENTYEBARAN DATA PPT KELOMPOK 2.pptx
UKURAN PENTYEBARAN DATA PPT KELOMPOK 2.pptx
 
Menggunakan Data matematika kelas 7.pptx
Menggunakan Data matematika kelas 7.pptxMenggunakan Data matematika kelas 7.pptx
Menggunakan Data matematika kelas 7.pptx
 
MATERI SESI 2 KONSEP ETIKA KOMUNIKASI.pptx
MATERI SESI 2 KONSEP ETIKA KOMUNIKASI.pptxMATERI SESI 2 KONSEP ETIKA KOMUNIKASI.pptx
MATERI SESI 2 KONSEP ETIKA KOMUNIKASI.pptx
 
PENGENDALIAN MUTU prodi Blitar penting untuk dimiliki oleh masyarakat .pptx
PENGENDALIAN MUTU prodi Blitar penting untuk dimiliki oleh masyarakat .pptxPENGENDALIAN MUTU prodi Blitar penting untuk dimiliki oleh masyarakat .pptx
PENGENDALIAN MUTU prodi Blitar penting untuk dimiliki oleh masyarakat .pptx
 

Featured

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
 
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 WorkGetSmarter
 
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 PresentationErica Santiago
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellSaba Software
 
Introduction to C Programming Language
Introduction to C Programming LanguageIntroduction to C Programming Language
Introduction to C Programming LanguageSimplilearn
 

Featured (20)

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
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
 
Introduction to C Programming Language
Introduction to C Programming LanguageIntroduction to C Programming Language
Introduction to C Programming Language
 

Bayesian Network.pptx

  • 2. Pengertian Bayesian Network • Bayesian Network adalah salah satu probabilistic graphical model yang menggunakan Bayesian inference untuk pengambilan keputusan (inferensi) probabilistik. • Bayesian Network dibangun dari teori peluang dan teori graph • Teori probabilistik  data • Teori graf  merepresentasikan pola dari sekumpulan data (hubungan sebab akibat diantara variabel–variable). • Inferensi probabilistik didapatkan dengan menentukan joint probability distribution (JPD) dari semua variabel yang dimodelkan.
  • 3. Contoh penggunaan Bayesian Network • Menggambarkan hubungan probabilistik antara penyakit dan gejala. • Edge berarah merepresentasikan pengetahuan tentang hubungan ketergantungan atau kebebasan antara variable domain dengan persoalan yang dimodelkan. • Pengetahuan tersebut direpresentasikan secara kualitatif menggunakan struktur graf dan secara kuantitatif menggunakan parameter–parameter numerik. Gejala Penyakit
  • 4. Dua bagian Bayesian Network 1. Struktur Graf - Struktur graf bayesian network disebut dengan directed acyclic graph (DAG) yaitu graf berarah yang tidak mengandung siklus. - Node merepresentasikan variabel acak dan edge merepresentasikan hubungan kebergantungan langsung (dapat pula diinterpretasikan sebagai pengaruh (sebab–akibat) langsung antara variabel yang dihubungkannya.
  • 5. Dua bagian Bayesian Network 2. Himpunan Parameter Himpunan parameter mendefinisikan distribusi probabilitas kondisional untuk setiap variabel. Conditional probability yaitu peluang suatu kejadian Y bila diketahui kejadian X telah terjadi, dinotasikan dengan P(Y|X). P(Xi|Ai) dimana Xi adalah variabel yang diasosiasikan dengan node dan Ai adalah himpunan dari parent dalam graf.
  • 6. Lebih lanjut tentang Bayesian Network • Bayesian network dapat melakukan pengambilan keputusan (inferensi) probabilistik. • Inferensi probabilistik adalah memprediksi nilai variabel yang tidak dapat diketahui secara langsung dengan menggunakan nilai–nilai variabel lain yang telah diketahui. • Inferensi probabilistik dapat dilakukan jika terlebih dahulu diperoleh joint probabillity distribution (JPD) dari semua variabel yang dimodelkan. • JPD adalah probabilitas semua kejadian variabel yang terjadi secara bersamaan. • Inferensi probabilistik dapat dilakukan jika bayesian network telah dibangun
  • 7. Konstruksi Bayesian Network • Jika hubungan antar variabel dan probabilitas nilai–nilai variabel belum diketahui, maka bayesian network dibangun berdasarkan data kejadian, disebut konstruksi bayesian network. • Ada dua tahap mengonstruksi bayesian network, yaitu : 1. Konstruksi struktur (tahap kualitatif), yaitu mencari keterhubungan antara variabel–variabel yang dimodelkan. 2. Estimasi parameter (tahap kuantitatif), yaitu menghitung nilai–nilai probabilitas.
  • 8. Konstruksi Bayesian Network Bayesian Network Direct Acyclic Graph Estimasi 1. Prior 2. Conditional Probability 3. Joint Probability 4. Posterior Probability Setelah struktur bayesian network terbentuk, parameter (prior probability) dan hubungan ketergantungan antara node (conditional probability) sudah ditentukan berdasar pengetahuan pakar, maka dapat dihitung joint probability distribution. Setelah joint probability distribution didapat, selanjutnya dihitung posterior probability.
  • 9. Contoh • 1% dari wanita berusia diatas 40 tahun mengidap kanker payudara. 80% dari wanita pengidap kanker payudara tersebut, mempunyai hasil positif pada tes mamografi. • 9.6% dari wanita yang tidak mengidap kanker juga menunjukkan hasil positif pada tes mamografi. • Berapakah kemungkinan wanita diatas 40 tahun dengan hasil tes mamografi positif, akan mengidap kanker payudara P(kanker payudara | tes mamografi positif)? Kanker Hasil Mammografi Ada Tidak ada Positif 0,8 0,096 Negatif 0,2 0,904
  • 10. Contoh • Joint Probability dari Wanita berusia diatas 40 tahun Kanker Hasil Mammografi Ada Tidak ada Positif 0,01 x 0,8 = 0,008 0,99 x 0,096 = 0,09504 Negatif 0,01 x 0,2 = 0,002 0,99 x 0,904 = 0,89496 P (kanker payudara | hasil tes mamografi positif) = 0,08 0,08+0,09504 = 0,07764 Kanker Hasil Mammografi Ada Tidak ada Positif 0,07764 1 - 0,07764 Negatif 1 – 0,99777 0,99777