Click here to Skip to main content
11,483,586 members (68,841 online)
Rate this: bad
good
Please Sign up or sign in to vote.
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
Posted 6-Dec-12 19:32pm
Edited 6-Dec-12 20:01pm
v2

1 solution

Rate this: bad
good
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.
  Permalink  
Comments
Noe Prins at 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 at 7-Dec-12 9:35am
   
Sorry, no, I have no experience of this subject.
Noe Prins at 7-Dec-12 9:38am
   
thanks.
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 at 7-Dec-12 9:39am
   
Google is probably your best bet.
Noe Prins at 7-Dec-12 9:40am
   
Thanks

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 250
1 Frankie-C 175
2 Raje_ 155
3 OriginalGriff 152
4 Abhipal Singh 108
0 Sergey Alexandrovich Kryukov 8,489
1 OriginalGriff 7,943
2 Sascha Lefèvre 3,114
3 Maciej Los 2,581
4 Richard Deeming 2,370


Advertise | Privacy | Mobile
Web03 | 2.8.150520.1 | Last Updated 7 Dec 2012
Copyright © CodeProject, 1999-2015
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