Click here to Skip to main content
13,006,360 members (67,601 online)
Rate this:
Please Sign up or sign in to vote.
See more:
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?
Posted 6-Dec-12 18:32pm
Updated 6-Dec-12 19:01pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Post your question in the forum at the end of the article so the author can see it and respond.
Noe Prins 7-Dec-12 9:32am
Thanks. I just did. (sorry, new to the forum)
Do you know of a SVM code in C++ that I can use to train and classify 2 classes? Thank you
Richard MacCutchan 7-Dec-12 9:35am
Sorry, no, I have no experience of this subject.
Noe Prins 7-Dec-12 9:38am
I usually code in MATLAB and there is a user community to go for help.
Where would I go to find help for C++?
Richard MacCutchan 7-Dec-12 9:39am
Google is probably your best bet.
Noe Prins 7-Dec-12 9:40am

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.170628.1 | Last Updated 7 Dec 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100