SlideShare a Scribd company logo
1 of 55
Download to read offline
TREY
research
NaïveBayesClassifier
Add a footer 1
SUPERVISED LEARNING – MACHINE LEARNING
TREY
research
Outline
Add a footer 2
• Pengenalan Naïve Bayes Classifier
• Teorema Bayes
• Jenis Naïve Bayes Classification
• Naïve Bayes Classification Explanation
TREY
research
Add a footer 3
PengenalanNaïveBayesClassifier
• Naive Bayes adalah metode yang cocok untuk klasifikasi biner dan multiclass.
• Metode yang juga dikenal sebagai Naive Bayes Classifier ini menerapkan teknik supervised klasifikasi
objek di masa depan dengan menetapkan label kelas ke instance/catatan menggunakan probabilitas
bersyarat.
• Probabilitas bersyarat adalah ukuran peluang suatu peristiwa yang terjadi berdasarkan peristiwa lain
yang telah (dengan asumsi, praduga, pernyataan, atau terbukti) terjadi.
• Model machine learning yang diterapkan pada Naïve Bayes menggunakan teorema Bayes.
TREY
research
Add a footer 4
TeoremaBayes
• Teorema Bayes menawarkan suatu formula untuk menghitung nilai probability dari suatu event dengan
memanfaatkan pengetahuan sebelumnya dari kondisi terkait, atau seringkali dikenal dengan istilah
conditional probability
• Yang memberi tahu kita : seberapa sering A terjadi ketika B terjadi, ditulis P (A | B)
• Ketika kita tahu : seberapa sering B terjadi ketika A terjadi, ditulis P (B | A)
• dan seberapa besar kemungkinan A adalah benar, ditulis P (A)
• dan seberapa besar kemungkinan B adalah benar, ditulis P (B)
𝑃 𝐴 | 𝐵 =
𝑃 𝐴 ∗ 𝑃(𝐵|𝐴)
𝑃(𝐵)
Misalnya, P (Api) berarti seberapa sering ada Api dan P (Asap) berarti seberapa sering kita melihat asap, maka:
P (Api | Asap) artinya seberapa sering ada Api ketika kita melihat Asap
P (Asap | Api) artinya seberapa sering ada Asap ketika kita melihat Api
TREY
research
Add a footer 5
JenisNaïveBayesClassification
Multinomial Naive Bayes
• Salah satu tipe metode Naive Bayes adalah Multinomial yang sebagian besar digunakan untuk
mengklasifikasi kategori dokumen. Sebuah dokumen dapat dikategorikan bertema olahraga,
politik, teknologi, atau lain-lain berdasarkan frekuensi kata-kata yang muncul dalam dokumen.
Bernoulli Naive Bayes
• Tipe ini mirip dengan tipe Multinomial, namun klasifikasinya lebih berfokus pada hasil ya/tidak.
Prediktor yang di-input adalah variabel boolean. Misalnya, prediksi atas sebuah kata muncul
dalam teks atau tidak.
Gaussian Naive Bayes.
• Distribusi Gaussian adalah asumsi pendistribusian nilai kontinu yang terkait dengan setiap fitur
berisi nilai numerik. Ketika diplot, akan muncul kurva berbentuk lonceng yang simetris
tentang rata-rata nilai fitur.
TREY
research
Add a footer 6
MultinomialNaïveBayesClassificationExplanation
TREY
research
Add a footer 7
MultinomialNaïveBayesClassificationExplanation
TREY
research
Add a footer 8
MultinomialNaïveBayesClassificationExplanation
TREY
research
Add a footer 9
MultinomialNaïveBayesClassificationExplanation
TREY
research
Add a footer 10
MultinomialNaïveBayesClassificationExplanation
TREY
research
Add a footer 11
MultinomialNaïveBayesClassificationExplanation
TREY
research
Add a footer 12
MultinomialNaïveBayesClassificationExplanation
TREY
research
Add a footer 13
MultinomialNaïveBayesClassificationExplanation
TREY
research
Add a footer 14
MultinomialNaïveBayesClassificationExplanation
TREY
research
Add a footer 15
MultinomialNaïveBayesClassificationExplanation
TREY
research
Add a footer 16
MultinomialNaïveBayesClassificationExplanation
TREY
research
Add a footer 17
MultinomialNaïveBayesClassificationExplanation
TREY
research
Add a footer 18
MultinomialNaïveBayesClassificationExplanation
TREY
research
Add a footer 19
MultinomialNaïveBayesClassificationExplanation
TREY
research
Add a footer 20
MultinomialNaïveBayesClassificationExplanation
TREY
research
Add a footer 21
MultinomialNaïveBayesClassificationExplanation
TREY
research
Add a footer 22
MultinomialNaïveBayesClassificationExplanation
TREY
research
Add a footer 23
MultinomialNaïveBayesClassificationExplanation
TREY
research
Add a footer 24
MultinomialNaïveBayesClassificationExplanation
TREY
research
Add a footer 25
MultinomialNaïveBayesClassificationExplanation
TREY
research
Add a footer 26
MultinomialNaïveBayesClassificationExplanation
TREY
research
Add a footer 27
MultinomialNaïveBayesClassificationExplanation
TREY
research
Add a footer 28
MultinomialNaïveBayesClassificationExplanation
TREY
research
Add a footer 29
MultinomialNaïveBayesClassificationExplanation
TREY
research
Add a footer 30
MultinomialNaïveBayesClassificationExplanation
TREY
research
Add a footer 31
MultinomialNaïveBayesClassificationExplanation
TREY
research
Add a footer 32
MultinomialNaïveBayesClassificationExplanation
TREY
research
Add a footer 33
MultinomialNaïveBayesClassificationExplanation
TREY
research
Add a footer 34
MultinomialNaïveBayesClassificationExplanation
TREY
research
Add a footer 35
MultinomialNaïveBayesClassificationExplanation
TREY
research
Add a footer 36
MultinomialNaïveBayesClassificationExplanation
TREY
research
Add a footer 37
MultinomialNaïveBayesClassificationExplanation
TREY
research
Add a footer 38
MultinomialNaïveBayesClassificationExplanation
TREY
research
Add a footer 39
MultinomialNaïveBayesClassificationExplanation
TREY
research
Add a footer 40
MultinomialNaïveBayesClassificationExplanation
TREY
research
Add a footer 41
MultinomialNaïveBayesClassificationExplanation
TREY
research
Add a footer 42
MultinomialNaïveBayesClassificationExplanation
TREY
research
Add a footer 43
MultinomialNaïveBayesClassificationExplanation
TREY
research
Add a footer 44
MultinomialNaïveBayesClassificationExplanation
TREY
research
Add a footer 45
MultinomialNaïveBayesClassificationExplanation
TREY
research
Add a footer 46
MultinomialNaïveBayesClassificationExplanation
TREY
research
Add a footer 47
MultinomialNaïveBayesClassificationExplanation
TREY
research
Add a footer 48
MultinomialNaïveBayesClassificationExplanation
TREY
research
Add a footer 49
MultinomialNaïveBayesClassificationExplanation
TREY
research
Add a footer 50
MultinomialNaïveBayesClassificationExplanation
TREY
research
Add a footer 51
MultinomialNaïveBayesClassificationExplanation
TREY
research
Add a footer 52
MultinomialNaïveBayesClassificationExplanation
TREY
research
Add a footer 53
WhyNaïveBayesisNaïve?
TREY
research
Add a footer 54
WhyNaïveBayesisNaïve?
Let’scode…
Add a footer 55

More Related Content

Featured

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)
 
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
Saba Software
 

Featured (20)

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
 
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
 

7. NAIVE BAYES & SV CLASSIFICATIOB.pdf