1.8 KiB
1.8 KiB
title | description | menu | weight | flux/v0/tags | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
naiveBayesClassifier.naiveBayes() function | `naiveBayesClassifier.naiveBayes()` performs a naive Bayes classification. |
|
301 |
|
naiveBayesClassifier.naiveBayes()
performs a naive Bayes classification.
Function type signature
(
<-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 %}}
Parameters
myMeasurement
({{< req >}}) Measurement to use as training data.
myField
({{< req >}}) Field to use as training data.
myClass
({{< req >}}) Class to classify against.
tables
Input data. Default is piped-forward data (<-
).