简体   繁体   English

在C ++中使用SVM-struct多类分类

[英]Using SVM-struct multiclass classification in C++

I just downloaded SVM-struct multiclass source files from http://svmlight.joachims.org/svm_struct.html , and I'd like to do classification through calling some function from my C++ program. 我刚刚从http://svmlight.joachims.org/svm_struct.html下载了SVM-struct多类源文件,我想通过从C ++程序中调用某些函数来进行分类。

I couldn't find a documentation about this. 我找不到有关此文档。 Is there some functions that I can call to do classification in C++? 我可以调用一些函数来进行C ++分类吗?

If you downloaded source files, you can include them into your project, then include them into the source files where you want to use them and then call the functions. 如果下载了源文件,则可以将它们包含在项目中,然后将它们包含在要使用它们的源文件中,然后调用函数。 If dlls were provided, you need to use them. 如果提供了dll,则需要使用它们。 If you are searching for other libraries for classification, I can suggest you the following: 如果要搜索其他要分类的库,我可以为您提供以下建议:

  • SVMLib SVMLib
  • boost libraries (boost has some libraries for classification) boost库(boost有一些用于分类的库)

I suggest "Shark machine learning library" for C++. 我建议使用C ++的“ Shark机器学习库”。 The library supports SVM with different Kernel functions, NNet and a few other types of classifiers. 该库支持具有不同内核功能的SVM,NNet和其他一些类型的分类器。

http://image.diku.dk/shark/sphinx_pages/build/html/index.html http://image.diku.dk/shark/sphinx_pages/build/html/index.html

You may also use LIBSVM: 您也可以使用LIBSVM:

http://www.csie.ntu.edu.tw/~cjlin/libsvm/ http://www.csie.ntu.edu.tw/~cjlin/libsvm/

Both of these libraries are still being maintained. 这两个库仍在维护中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM