Weka:如何获取测试实例的每个类的概率

问题描述:

对于Weka的Explorer,有什么方法可以获取朴素贝叶斯分类器对测试实例的分类概率吗?

In the case of Weka's Explorer, is there any way to get the class probabilities of the test instances as classified by a Naive Bayes' classifier?

在Weka Explorer的Classify选项卡上,单击More options...并勾选Output predictions.然后Start训练和测试以及结果将向您展示为每个测试实例分配每个类的可能性.

In Weka Explorer on the Classify tab, click on More options... and tick Output predictions. Then Start the training and testing and the result shows you the probabilities of assigning each class for each test instance.