Click here to Skip to main content
15,891,253 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi, Iam new to Libsvm.iam using Libsvm and i have added svm.cpp and svm.h files to my project. i have my model files stored in the project folder and the scale file which use to do the prediction.My problem is what is the method i should use to do the prediction in svm.cpp?

For the prediction part if i use svmprediction.exe file which is inside the libsvm package, i have to give,
1. Test.scale file path (which has my test values)
2. X.scale.model file path
3. Output file (which stores the result of the prediction)

But now i want to do it using svm.cpp.I can't find any type of method which accepts above 3 parameters.Need help.Thank you..I hope my problem is clear :-)
Posted

1 solution

you better try your luck here: http://www.csie.ntu.edu.tw/~cjlin/libsvm/faq.html[^]
 
Share this answer
 
Comments
Dilan Shaminda 13-Aug-13 8:01am    
Hi,thanks for the link..i will go though it.

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