SlideShare a Scribd company logo
Frequency Based Classification
Types
• K Nearest Neighborhood (KNN)
• Naïve Bayes
K-Nearest Neighbour
• Simplest: Count Based
• Not sensitive to variance-covariance
• Measure ‘distances’
• Distances ‘type’
• Very useful and simple
• But bit ad-hoc
• Other applications
12-Dec-17 3
Naïve Bayes
• Bayes Theorem
• 𝑃 𝑦𝑖 = 1|𝑋 =
𝑃 𝑦𝑖=1 ∗𝑃 𝑋|𝑦𝑖=1
𝑃 𝑦𝑖=1 ∗𝑃 𝑋|𝑦𝑖=1 +𝑃 𝑦𝑖=0 ∗𝑃 𝑋|𝑦𝑖=0
• Re visit Bayes Theorem with an Example:
• P(G)=0.95, P(a=g|G)=0.9, P(a=g|B)=0.15
• So what is P(G|a=g)?
Naïve Bayes
• How does it Work
• No a priori specification is needed
• Can be used to do multi class classification as
well

More Related Content

PDF
Visualization IN DATA ANALYTICS IN TIME SERIES
PDF
TS Decomposition IN data Time Series Fore
PDF
TIMES SERIES FORECASTING ON HISTORICAL DATA IN R
PPTX
SMOTE and K-Fold Cross Validation-Presentation.pptx
PPTX
Factor Analysis-Presentation DATA ANALYTICS
PPT
Additional Reading material-Probability.ppt
PDF
Decision Tree_Loan Delinquent_Problem Statement.pdf
PPTX
M2W1 - FBS - Descriptive Statistics_Mentoring Presentation.pptx
Visualization IN DATA ANALYTICS IN TIME SERIES
TS Decomposition IN data Time Series Fore
TIMES SERIES FORECASTING ON HISTORICAL DATA IN R
SMOTE and K-Fold Cross Validation-Presentation.pptx
Factor Analysis-Presentation DATA ANALYTICS
Additional Reading material-Probability.ppt
Decision Tree_Loan Delinquent_Problem Statement.pdf
M2W1 - FBS - Descriptive Statistics_Mentoring Presentation.pptx

More from HaritikaChhatwal1 (12)

PPTX
Introduction to R _IMPORTANT FOR DATA ANALYTICS
PPTX
BUSINESS ANALYTICS WITH R SOFTWARE DIAST
PPTX
SESSION 1-2 [Autosaved] [Autosaved].pptx
PDF
WORKSHEET INTRO AND TVM _SESSION 1 AND 2.pdf
PPTX
Epigeum at ntunive singapore MED900.pptx
PPTX
MED 900 Correlational Studies online safety sake.pptx
PPTX
Nw Microsoft PowerPoint Presentation.pptx
PPTX
HOWs CORRELATIONAL STUDIES are performed
PPTX
DIAS PRESENTATION.pptx
PDF
FULLTEXT01.pdf
PPTX
CHAPTER 4 -TYPES OF BUSINESS.pptx
PPTX
CHAPTER 3-ENTREPRENEURSHIP [Autosaved].pptx
Introduction to R _IMPORTANT FOR DATA ANALYTICS
BUSINESS ANALYTICS WITH R SOFTWARE DIAST
SESSION 1-2 [Autosaved] [Autosaved].pptx
WORKSHEET INTRO AND TVM _SESSION 1 AND 2.pdf
Epigeum at ntunive singapore MED900.pptx
MED 900 Correlational Studies online safety sake.pptx
Nw Microsoft PowerPoint Presentation.pptx
HOWs CORRELATIONAL STUDIES are performed
DIAS PRESENTATION.pptx
FULLTEXT01.pdf
CHAPTER 4 -TYPES OF BUSINESS.pptx
CHAPTER 3-ENTREPRENEURSHIP [Autosaved].pptx
Ad

Recently uploaded (20)

PPTX
Acceptance and paychological effects of mandatory extra coach I classes.pptx
PPTX
modul_python (1).pptx for professional and student
PPT
Predictive modeling basics in data cleaning process
PPTX
Introduction to Inferential Statistics.pptx
PDF
Data Engineering Interview Questions & Answers Batch Processing (Spark, Hadoo...
PPTX
sac 451hinhgsgshssjsjsjheegdggeegegdggddgeg.pptx
PPTX
Leprosy and NLEP programme community medicine
PDF
Data Engineering Interview Questions & Answers Cloud Data Stacks (AWS, Azure,...
PDF
Transcultural that can help you someday.
PPTX
Market Analysis -202507- Wind-Solar+Hybrid+Street+Lights+for+the+North+Amer...
PDF
Capcut Pro Crack For PC Latest Version {Fully Unlocked 2025}
PPTX
mbdjdhjjodule 5-1 rhfhhfjtjjhafbrhfnfbbfnb
PDF
168300704-gasification-ppt.pdfhghhhsjsjhsuxush
PPTX
IBA_Chapter_11_Slides_Final_Accessible.pptx
PDF
Microsoft Core Cloud Services powerpoint
PPTX
retention in jsjsksksksnbsndjddjdnFPD.pptx
PPTX
01_intro xxxxxxxxxxfffffffffffaaaaaaaaaaafg
PPTX
Copy of 16 Timeline & Flowchart Templates – HubSpot.pptx
PDF
Global Data and Analytics Market Outlook Report
PPTX
QUANTUM_COMPUTING_AND_ITS_POTENTIAL_APPLICATIONS[2].pptx
Acceptance and paychological effects of mandatory extra coach I classes.pptx
modul_python (1).pptx for professional and student
Predictive modeling basics in data cleaning process
Introduction to Inferential Statistics.pptx
Data Engineering Interview Questions & Answers Batch Processing (Spark, Hadoo...
sac 451hinhgsgshssjsjsjheegdggeegegdggddgeg.pptx
Leprosy and NLEP programme community medicine
Data Engineering Interview Questions & Answers Cloud Data Stacks (AWS, Azure,...
Transcultural that can help you someday.
Market Analysis -202507- Wind-Solar+Hybrid+Street+Lights+for+the+North+Amer...
Capcut Pro Crack For PC Latest Version {Fully Unlocked 2025}
mbdjdhjjodule 5-1 rhfhhfjtjjhafbrhfnfbbfnb
168300704-gasification-ppt.pdfhghhhsjsjhsuxush
IBA_Chapter_11_Slides_Final_Accessible.pptx
Microsoft Core Cloud Services powerpoint
retention in jsjsksksksnbsndjddjdnFPD.pptx
01_intro xxxxxxxxxxfffffffffffaaaaaaaaaaafg
Copy of 16 Timeline & Flowchart Templates – HubSpot.pptx
Global Data and Analytics Market Outlook Report
QUANTUM_COMPUTING_AND_ITS_POTENTIAL_APPLICATIONS[2].pptx
Ad

Frequency Based Classification Algorithms_ important

  • 2. Types • K Nearest Neighborhood (KNN) • Naïve Bayes
  • 3. K-Nearest Neighbour • Simplest: Count Based • Not sensitive to variance-covariance • Measure ‘distances’ • Distances ‘type’ • Very useful and simple • But bit ad-hoc • Other applications 12-Dec-17 3
  • 4. Naïve Bayes • Bayes Theorem • 𝑃 𝑦𝑖 = 1|𝑋 = 𝑃 𝑦𝑖=1 ∗𝑃 𝑋|𝑦𝑖=1 𝑃 𝑦𝑖=1 ∗𝑃 𝑋|𝑦𝑖=1 +𝑃 𝑦𝑖=0 ∗𝑃 𝑋|𝑦𝑖=0 • Re visit Bayes Theorem with an Example: • P(G)=0.95, P(a=g|G)=0.9, P(a=g|B)=0.15 • So what is P(G|a=g)?
  • 5. Naïve Bayes • How does it Work • No a priori specification is needed • Can be used to do multi class classification as well