I have a trained dataset with 125 records. I'm going to classify new instance using NaiveBayesUpdatable. but when I run naiveBayes (under windows, using weka 3.4), I get the following error :
java.lang.ArrayIndexOutOfBoundsException: 126
at weka.estimators.DiscreteEstimator.getProbability(Unknown Source)
at weka.classifiers.bayes.NaiveBayes.distributionForInstance(Unknown Source)
at weka.classifiers.Classifier.classifyInstance(Unknown Source)
at Classifier.NaiveBayes.classifyInstance(NaiveBayes.java:190)
at Classifier.NaiveBayes.classifyWebPage(NaiveBayes.java:106)
when I run the J48 classifier, it runs with no problems.
thanks for any help\ideas.