Open davidchengo opened 8 years ago
$ dualist test models/a_three_class_model /path_to_3_classtest.zip ~ ~ ~ .--| |.--.--.---.-.| |**|.-----.| | ~ | || | | || | || --|| | ~ |____||_____|.|||||_**||__| ~ ~ Loading trained model... |data|=199 |features|=7213 |labels|=4 Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 3 at cc.mallet.types.Multinomial$Logged.addLogProbabilities(Multinomial.java:246) at cc.mallet.classify.NaiveBayes.classify(NaiveBayes.java:153) at cc.mallet.classify.Trial.(Trial.java:50) at cc.mallet.classify.Classifier.getAccuracy(Classifier.java:148) at dualist.tui.Test.main(Test.java:52)
$ dualist test models/a_three_class_model /path_to_3_classtest.zip ~ ~(Trial.java:50)
at cc.mallet.classify.Classifier.getAccuracy(Classifier.java:148)
at dualist.tui.Test.main(Test.java:52)
~ .--| |.--.--.---.-.| |**|.-----.| | ~ | || | | || | || --|| | ~ |____||_____|.|||||_**||__| ~ ~ Loading trained model... |data|=199 |features|=7213 |labels|=4 Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 3 at cc.mallet.types.Multinomial$Logged.addLogProbabilities(Multinomial.java:246) at cc.mallet.classify.NaiveBayes.classify(NaiveBayes.java:153) at cc.mallet.classify.Trial.