title: Naïve Bayes classification in R.
abstract: Naïve Bayes classification is a kind of simple probabilistic classification methods based on Bayes' theorem with the assumption of independence between features. The model is trained on training dataset to make predictions by predict() function. This article introduces two functions naiveBayes() and train() for the performance of Naïve Bayes classification.
authors.affiliation: Department of Critical Care Medicine, Jinhua Municipal Central Hospital, Jinhua Hospital of Zhejiang University, Jinhua 321000, China.
authors.forename: Zhongheng
authors.initials: Z
authors.lastname: Zhang
keywords: Machine learning; R; average accuracy; classification; kappa; naïve Bayes