我正在使用 python 中的 libsvm (svmutils) 来执行分类任务。分类器是准确的。但是,我得到这样的输出:
*
optimization finished, #iter = 75
nu = 0.000021
obj = -0.024330, rho = 0.563710
nSV = 26, nBSV = 0
Total nSV = 26
*
optimization finished, #iter = 66
nu = 0.000030
obj = -0.035536, rho = -0.500676
nSV = 21, nBSV = 0
Total nSV = 21
*
optimization finished, #iter = 78
nu = 0.000029
obj = -0.033921, rho = -0.543311
nSV = 23, nBSV = 0
Total nSV = 23
*
optimization finished, #iter = 90
nu = 0.000030
obj = -0.035333, rho = -0.634721
nSV = 23, nBSV = 0
Total nSV = 23
Accuracy = 0% (0/1) (classification)
Accuracy = 0% (0/1) (classification)
Accuracy = 0% (0/1) (classification)
Accuracy = 0% (0/1) (classification)
有什么办法可以抑制这个对话框?分类器非常好用,我只是好奇。另外,"Accuracy"
代表什么?为什么在我的情况下这是 0%?(数据在 80 个维度上不重叠。总共 4 个类。我也对其进行了适当的规范化。)