【发布时间】:2014-01-10 17:29:34
【问题描述】:
在 ubuntu 平台上使用 LIBSVM 库时,以下是我得到的输出。请指导我采取行动:
发出的命令:
./svm-scale -u 1 -l -1 -s parameters.txt negativeSet > negativeSet.scaled
./svm-scale -u 1 -l -1 -r parameters.txt positiveSet > positiveSet.scaled
cat negativeSet.scaled > trainingSet.scaled
cat positiveSet.scaled >> trainingSet.scaled
./svm-train -t 1 -s 1 trainingSet.scaled
和
./svm-train trainingSet.scaled
观察到的输出:
optimization finished, #iter = 1
obj = nan, rho = nan
nSV = 0, nBSV = 0
Total nSV = 0
我尝试使用带有各种参数的 RBF 内核,但问题仍然存在。 我的猜测是问题出在缩放文件上,但我无法弄清楚问题出在哪里。 感谢您的早期帮助。谢谢
【问题讨论】:
标签: machine-learning artificial-intelligence svm libsvm