Skip to main content

2023 | OriginalPaper | Buchkapitel

9. Naïve Bayes

verfasst von : Frank Acito

Erschienen in: Predictive Analytics with KNIME

Verlag: Springer Nature Switzerland

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

This chapter introduces the Naïve Bayes algorithm, a predictive model based on Bayesian analysis. The chapter starts with a thought problem involving a breathalyzer used by a police department. It demonstrates how Bayes’ Theorem can be used to estimate the probability that a driver is over the legal alcohol limit based on breathalyzer results.
The concept of Naïve Bayes is illustrated with a toy data set of 15 observations, demonstrating how probabilities are calculated using counting. The assumption of conditional independence is explained, and the algorithm’s applicability to categorical and continuous predictors is discussed.
The problem of zero probabilities and the need for Laplace smoothing to avoid issues with small sample sizes are explored. Naïve Bayes in KNIME is applied to a real-world example of predicting heart disease detection and identifying spam emails, achieving 85% and 99% accuracy, respectively, with test data.
Despite its strong assumption of independence among predictors, Naïve Bayes proves to be a practical and efficient algorithm for classification tasks, especially when dealing with a large number of predictors. While its probability estimates may not always be precise, the classification results are often reliable.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Literatur
Zurück zum Zitat Karimovich, G. S., Jaloldin ugli, K. S., & Salimbayevich, O. I. (2020). Analysis of machine learning methods for filtering spam messages in email services. International conference on information science and communications technologies, Tashkent, Uzbekistan, pp. 1–4. Karimovich, G. S., Jaloldin ugli, K. S., & Salimbayevich, O. I. (2020). Analysis of machine learning methods for filtering spam messages in email services. International conference on information science and communications technologies, Tashkent, Uzbekistan, pp. 1–4.
Zurück zum Zitat Kuhn, M., & Johnson, K. (2016). Applied predictive modeling (2nd ed.). Springer.MATH Kuhn, M., & Johnson, K. (2016). Applied predictive modeling (2nd ed.). Springer.MATH
Zurück zum Zitat Rish, I. (2001). An empirical study of the Naïve Bayes classifier. IJCAI 2001 workshop on empirical methods in artificial intelligence, pp. 41–46. Rish, I. (2001). An empirical study of the Naïve Bayes classifier. IJCAI 2001 workshop on empirical methods in artificial intelligence, pp. 41–46.
Metadaten
Titel
Naïve Bayes
verfasst von
Frank Acito
Copyright-Jahr
2023
DOI
https://doi.org/10.1007/978-3-031-45630-5_9