Re: [R] SVM coefficients

2009-09-01 Thread marlene marchena
Hi, A long time I have some problems to run a SVM - regression. Here an example with the Ozone data that represents very well my own data. data(Ozone, package = mlbench) #I cut the three first variables and splite the data in two parts Ozone- na.omit(Ozone[, -(1:3)]) index -

Re: [R] SVM coefficients

2009-09-01 Thread Steve Lianoglou
Hi Marlene, I'm going to cut out much of your post and just cut to the chase: On Sep 1, 2009, at 9:03 AM, marlene marchena wrote: Looking only to prediction purpose the scale model is good but I’m mainly interested in w. Is it possible to improve this model to get lower values to w?

Re: [R] SVM coefficients

2009-08-31 Thread Noah Silverman
Steve, That doesn't work. I just trained an SVM with 80 variables. svm_model$coefs gives me a list of 10,000 items. My training set is 30,000 examples of 80 variables, so I have no idea what the 10,000 items represent. There should be some attribute that lists the weights for each of the

Re: [R] SVM coefficients

2009-08-31 Thread Achim Zeileis
On Mon, 31 Aug 2009, Noah Silverman wrote: Steve, That doesn't work. I just trained an SVM with 80 variables. svm_model$coefs gives me a list of 10,000 items. My training set is 30,000 examples of 80 variables, so I have no idea what the 10,000 items represent. Presumably, the

Re: [R] SVM coefficients

2009-08-31 Thread Bernd Bischl
Noah Silverman wrote: Steve, That doesn't work. I just trained an SVM with 80 variables. svm_model$coefs gives me a list of 10,000 items. My training set is 30,000 examples of 80 variables, so I have no idea what the 10,000 items represent. There should be some attribute that lists the

Re: [R] SVM coefficients

2009-08-31 Thread Steve Lianoglou
Hi, On Aug 31, 2009, at 3:32 AM, Noah Silverman wrote: Steve, That doesn't work. Actually, it does :-) I just trained an SVM with 80 variables. svm_model$coefs gives me a list of 10,000 items. My training set is 30,000 examples of 80 variables, so I have no idea what the 10,000

Re: [R] SVM coefficients

2009-08-31 Thread Noah Silverman
Thanks, I just remember with RapidMiner, there was always a screen showing the effective weights assigned to each input variable by the SVM. These numbers themselves weren't good for much, except they really helped to visualize the data. It is rather useful to see how much relative weight

[R] SVM coefficients

2009-08-30 Thread Noah Silverman
Hello, I'm using the svm function from the e1071 package. It works well and gives me nice results. I'm very curious to see the actual coefficients calculated for each input variable. (Other packages, like RapidMiner, show you this automatically.) I've tried looking at attributes for the

Re: [R] SVM coefficients

2009-08-30 Thread Steve Lianoglou
Hi, On Sun, Aug 30, 2009 at 6:10 PM, Noah Silvermann...@smartmediacorp.com wrote: Hello, I'm using the svm function from the e1071 package. It works well and gives me nice results. I'm very curious to see the actual coefficients calculated for each input variable. (Other packages, like