Click here to Skip to main content
12,449,149 members (55,218 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C++ VS2010 syntax
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
Updated 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 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
   
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 7-Dec-12 9:39am
   
Google is probably your best bet.
Noe Prins 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
Top Experts
Last 24hrsThis month


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