Hi ! Right now I am learning to use svm functions available in R and trying to use these function with given example. I was stuck with svmlight function which is available in klaR package. Any help would be appreciated regarding this function. 1. I am unable to use svmlight( ) which is available in package: klaR. Although I have downloaded klaR_0.6-3 package from http://cran.r-project.org/web/packages/klaR/index.html web site, the function is giving me the following error.>m1<-klaR::svmlight(Species~.,data=iris)Error in file(con, "r") : cannot open the connection In addition: Warning message: In file(con, "r") : cannot open file '_model_1.txt': No such file or directory -- View this message in context: http://r.789695.n4.nabble.com/SVM-functions-tp2955768p2955768.html Sent from the R help mailing list archive at Nabble.com.
Probably you do not have svmlight installed on your machine. Uwe Ligges On 05.10.2010 12:42, Neeti wrote:> > > Hi ! > > Right now I am learning to use svm functions available in R and trying to > use these function with given example. I was stuck with svmlight function > which is available in klaR package. Any help would be appreciated regarding > this function. > > 1. I am unable to use svmlight( ) which is available in package: klaR. > Although I have downloaded klaR_0.6-3 package from > http://cran.r-project.org/web/packages/klaR/index.html web site, the > function is giving me the following error. > > >> m1<-klaR::svmlight(Species~.,data=iris) > Error in file(con, "r") : cannot open the connection > In addition: Warning message: > In file(con, "r") : > cannot open file '_model_1.txt': No such file or directory >
It would be nice if you suggest me the steps to check whether svmlight is present in my system or not? -- View this message in context: http://r.789695.n4.nabble.com/SVM-functions-tp2955768p2956384.html Sent from the R help mailing list archive at Nabble.com.
On 05.10.2010 18:19, Neeti wrote:> > It would be nice if you suggest me the steps to check whether svmlight is > present in my system or not?If you have not installed it, it is probably not present yet. How to check it: Well, that depends on your OS that is unstated so far. Asking a search engine for "svmlight" points you to http://www.cs.cornell.edu/People/tj/svm_light/ from where you can get and install it. Uwe Ligges
Hi, I don't know why your package does not work, but if you only want access to an SVM, you can use the svm function in the e1071 package instead. Cheers, Michael -----Original Message----- From: Neeti [mailto:nikkihathi at gmail.com] Sent: 5. oktober 2010 12:43 To: r-help at r-project.org Subject: [R] SVM functions Hi ! Right now I am learning to use svm functions available in R and trying to use these function with given example. I was stuck with svmlight function which is available in klaR package. Any help would be appreciated regarding this function. 1. I am unable to use svmlight( ) which is available in package: klaR. Although I have downloaded klaR_0.6-3 package from http://cran.r-project.org/web/packages/klaR/index.html web site, the function is giving me the following error.>m1<-klaR::svmlight(Species~.,data=iris)Error in file(con, "r") : cannot open the connection In addition: Warning message: In file(con, "r") : cannot open file '_model_1.txt': No such file or directory -- View this message in context: http://r.789695.n4.nabble.com/SVM-functions-tp2955768p2955768.html Sent from the R help mailing list archive at Nabble.com.
hi, Thanks for this suggestion. svm function in e1071 is working fine. As I want multi classification, I would like to understand the differences in these packages and the results (based on the parameter). So that it would be easy to select the best package for my data. -- View this message in context: http://r.789695.n4.nabble.com/SVM-functions-tp2955768p2964777.html Sent from the R help mailing list archive at Nabble.com.
What are the ways by which one can validate the SVM results and its significance? Are there any papers or articles regarding my question? Please do let me know. Thank you. -- View this message in context: http://r.789695.n4.nabble.com/SVM-functions-tp2955768p2964945.html Sent from the R help mailing list archive at Nabble.com.