Click here to Skip to main content
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 18:32pm
Edited 6-Dec-12 19: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 OriginalGriff 318
1 Richard Deeming 180
2 Sergey Alexandrovich Kryukov 175
3 Yogesh Kumar Tyagi 165
4 ChauhanAjay 156
0 Sergey Alexandrovich Kryukov 6,218
1 OriginalGriff 5,413
2 CPallini 2,473
3 Richard MacCutchan 1,627
4 Abhinav S 1,530


Advertise | Privacy | Mobile
Web02 | 2.8.140814.1 | Last Updated 7 Dec 2012
Copyright © CodeProject, 1999-2014
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