在C ++中帮助使用SVM语法 [英] Help with SVM syntax in C++
本文介绍了在C ++中帮助使用SVM语法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试实现这里给出的SVM。
支持向量机分类器 [ ^ ]
我对C ++不太熟悉。我有2个问题。
1.当我将两个* .h和* .cpp文件添加到我的库中时,有一堆错误,甚至在我之前使用任何代码。为什么?
2.有一个示例代码如何使用这些文件?我有我的训练数据和测试数据,需要预测班级,-1或+1。
我应该使用此代码的任何更新或改进版本相反?
谢谢
解决方案
在文章末尾的论坛中发帖提问,以便作者看到并回复。
Hi, I am trying to implement the SVM given here.
Support Vector Machine Classifier[^]
I am not very familiar with C++. I have 2 issues.
1.There is a bunch of errors when I just add the two *.h and *.cpp files to my library, even before I use any of the code. Why is that?
2.Is there a sample code how to use these files? I have my training data and the testing data and need to predict the class, -1 or +1.
Any updated or improved versions of this code that I should use instead?
Thanks
解决方案
Post your question in the forum at the end of the article so the author can see it and respond.
这篇关于在C ++中帮助使用SVM语法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文