Click here to Skip to main content
15,890,415 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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?
Thanks
Posted
Updated 6-Dec-12 19:01pm
v2

1 solution

Post your question in the forum at the end of the article so the author can see it and respond.
 
Share this answer
 
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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900