content/flux/v0/stdlib/contrib/RohanSreerama5/naiveBayesClassifier/naivebayes.md
naiveBayesClassifier.naiveBayes() performs a naive Bayes classification.
(
<-tables: stream[{C with _time: time, _measurement: E, _field: D}],
myClass: string,
myField: A,
myMeasurement: B,
) => stream[F] where A: Equatable, B: Equatable, D: Equatable, E: Equatable, F: Record
{{% caption %}} For more information, see Function type signatures. {{% /caption %}}
({{< req >}}) Measurement to use as training data.
({{< req >}}) Field to use as training data.
({{< req >}}) Class to classify against.
Input data. Default is piped-forward data (<-).