public class NaiveBayesClassifierEx1 extends Object
This example trains a NaiveBayesClassifier on Fisher's Iris data. The training data contains 140 of the 150 continuous patterns and the remaining ten are then used as a test set. Fisher's (1936) Iris data is often used for benchmarking classification algorithms. It consists of the following continuous input attributes and a classification target:
Constructor and Description |
---|
NaiveBayesClassifierEx1() |
Copyright © 2020 Rogue Wave Software. All rights reserved.