当我学习模型并使用此错误评估arff数据时,我遇到了问题解决。 感谢
Failure reason: -1
*** STACK TRACE **: -1
at moa.core.DoubleVector.addToValue(DoubleVector.java:64)
at moa.classifiers.core.attributeclassobservers.NominalAttributeClassObserver.observeAttributeClass(NominalAttributeClassObserver.java:64)
at moa.classifiers.trees.HoeffdingTree$ActiveLearningNode.learnFromInstance(HoeffdingTree.java:421)
at moa.classifiers.trees.HoeffdingTree$LearningNodeNBAdaptive.learnFromInstance(HoeffdingTree.java:895)
at moa.classifiers.trees.HoeffdingTree.trainOnInstanceImpl(HoeffdingTree.java:526)
at moa.classifiers.AbstractClassifier.trainOnInstance(AbstractClassifier.java:178)
at moa.classifiers.AbstractClassifier.trainOnInstance(AbstractClassifier.java:249)
at moa.tasks.LearnModel.doMainTask(LearnModel.java:99)
at moa.tasks.MainTask.doTaskImpl(MainTask.java:50)
at moa.tasks.AbstractTask.doTask(AbstractTask.java:57)
at moa.tasks.TaskThread.run(TaskThread.java:76)