Re: [R] Help with SVM package Kernlab

2009-12-26 Thread Vishal Thapar
Hi David, Thank you so much for the pointer. I get it now. I did try the str(testSeq_df) and since it gave me more than 2 factors for each column, I believed that it was fine. I get the point clearly now. Thanks again for all your help. I really appreciate it. Sincerely, vishal On Sat, Dec 26,

Re: [R] Help with SVM package Kernlab

2009-12-26 Thread David Winsemius
On Dec 26, 2009, at 3:53 AM, Vishal Thapar wrote: Hi All, Thank you for your replies so far. I was hoping I could get some more input from you on this issue. It seems to me that I have hit a dead end here and would really appreciate some feedback. I have followed all the suggestions you

Re: [R] Help with SVM package Kernlab

2009-12-26 Thread David Winsemius
Perhaps my response is not showing up on the r-help list due to the large number of recipients generated by the reply-all option triggering some sort of spam filter. So I am trimming them. On Dec 26, 2009, at 3:53 AM, Vishal Thapar wrote: Hi All, Thank you for your replies so far. I was ho

Re: [R] Help with SVM package Kernlab

2009-12-26 Thread Vishal Thapar
Hi All, Thank you for your replies so far. I was hoping I could get some more input from you on this issue. It seems to me that I have hit a dead end here and would really appreciate some feedback. I have followed all the suggestions you have mentioned but they still this is stuck. Earlier I thoug

Re: [R] Help with SVM package Kernlab

2009-12-25 Thread David Winsemius
On Dec 25, 2009, at 1:18 AM, Vishal Thapar wrote: > Hi David, > > Thanks for your reply. The package is Kernlab. No, the package name is "kernlab". Case of characters matters in R, as the rest of your problems also illustrate as well. > I agree with you when you mention that R didn't like the

Re: [R] Help with SVM package Kernlab

2009-12-25 Thread Vishal Thapar
Hi, I seem to have made some headway on this problem but its still not solved. It seems like this is a "factor" issue. When I read my training set, I read it with read.csv() which converts each of the columns as "factors". From this if I take a single row as my testSeq, it works great. On the othe

Re: [R] Help with SVM package Kernlab

2009-12-24 Thread Steve Lianoglou
Hi, On Fri, Dec 25, 2009 at 12:49 AM, Vishal Thapar wrote: > Hi Steve, > > Thank you so much for the reply. The response to your queries are: > What do these commands return over your data? > > 1. is(train500) > -->"data.frame" "list"   "oldClass"   "mpinput"    "vector" > 2. is(train500$clas

Re: [R] Help with SVM package Kernlab

2009-12-24 Thread Vishal Thapar
Hi David, Thanks for your reply. The package is Kernlab. I agree with you when you mention that R didn't like the structure of the testSeq object but I can't figure out why. Here is the output for "dput(testSeq) and str(testSeq). Any insight that you can see would be really helpful to me. Thanks

Re: [R] Help with SVM package Kernlab

2009-12-24 Thread Vishal Thapar
Hi Steve, Thank you so much for the reply. The response to your queries are: What do these commands return over your data? 1. is(train500) -->"data.frame" "list" "oldClass" "mpinput""vector" 2. is(train500$class) --> "NULL" "OptionalFunction" "output" 3. is(train500[1,5])

Re: [R] Help with SVM package Kernlab

2009-12-24 Thread David Winsemius
On Dec 24, 2009, at 11:42 PM, Vishal Thapar wrote: Hi useR's, I am resending this request since I got no response for my last post and I am new to the list so pardon me if I am violating the protocol. I am trying to use the "Kernlab" package for training and prediction using SVM's. I am

Re: [R] Help with SVM package Kernlab

2009-12-24 Thread Steve Lianoglou
Hi, Comments in line: On Thu, Dec 24, 2009 at 11:42 PM, Vishal Thapar wrote: > Hi useR's, > > I am resending this request since I got no response for my last post and I > am new to the list so pardon me if I am violating the protocol. > > I am trying to use the "Kernlab" package for training and

[R] Help with SVM package Kernlab

2009-12-24 Thread Vishal Thapar
Hi useR's, I am resending this request since I got no response for my last post and I am new to the list so pardon me if I am violating the protocol. I am trying to use the "Kernlab" package for training and prediction using SVM's. I am getting the following error when I am trying to use the pred