com.danylchuk.swiftlearner
Gaussian naive Bayes classifier.
You can create it first time with fromTrainingSet(), then reuse the learned values if you like with the constructor.
Ref: https://en.wikipedia.org/wiki/Naive_Bayes_classifier http://machinelearningmastery.com/naive-bayes-classifier-scratch-python/
Gaussian naive Bayes classifier.
You can create it first time with fromTrainingSet(), then reuse the learned values if you like with the constructor.
Ref: https://en.wikipedia.org/wiki/Naive_Bayes_classifier http://machinelearningmastery.com/naive-bayes-classifier-scratch-python/