我正在尝试使用 SVM Light 来学习 OpenCV2.2 HOG 描述符的分类器。我从 HOG 描述符中得到一个浮点向量输出。
阅读 SVMLight 文档后,我仍然无法理解输入训练和测试数据的格式是什么。
来自网站的 train.dat 中的一行示例:
1 6:0.0176472501759912 15:0.0151152682071138 26:0.0572866228831546 27:0.0128461400334668
在哪里,
The first char: 1, denote the positive class.
The second and third char 6: <== I don't understand what does this means,
The third variable denote the feature vector.
有人可以帮忙吗?谢谢!