Weka:如何获取测试实例的每个类的概率 [英] Weka: How to get the probabilities of each class for the test instances

查看:222
本文介绍了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.

这篇关于Weka:如何获取测试实例的每个类的概率的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆