Naive Bayes

Naive bayes classifier.
Methodsnew NaiveBayes()Constructor that takes no arguments.
Example
var nb = new NaiveBayes();
train(trainingSet, predictions)Train the Naive Bayes model to the given training set and predictions
Arguments
- trainingSet - A matrix of the training set.
- trainingLabels - An array of value for each case in the training set.