--- title: naiveBayesClassifier package description: > The `naiveBayesClassifier` package provides an implementation of a naive Bayes classifier. menu: flux_v0_ref: name: naiveBayesClassifier parent: contrib/RohanSreerama5 identifier: contrib/RohanSreerama5/naiveBayesClassifier weight: 31 cascade: introduced: v0.86.0 --- The `naiveBayesClassifier` package provides an implementation of a naive Bayes classifier. Import the `contrib/RohanSreerama5/naiveBayesClassifier` package: ```js import "contrib/RohanSreerama5/naiveBayesClassifier" ``` Currently supports single field classification and binary data sets. For information about demonstrating functions in this package, see the [package README on GitHub](https://github.com/influxdata/flux/blob/master/stdlib/contrib/RohanSreerama5/naiveBayesClassifier/README.md). ## Functions {{< children type="functions" show="pages" >}}