Re: [R] Least-square support vector machines regression!

2009-05-20 Thread Thomas Terhoeven-Urselmans
Dear Max, thanks for your valuable comment. I assume that you used the function for regression - not classification. I use Mac OS X plattform (version 10.5.6). The R version is 2.8.1 (I prefer to update to 2.9.1 not 2.9.0). The kernlab package version is 0.9-8. The x and y-input into LSSVM

[R] Least-square support vector machines regression!

2009-05-14 Thread Thomas Terhoeven-Urselmans
Otherwise I could not find another LSSVM regression implementation in R, or is there? Regards, Thomas Dr. Thomas Terhoeven-Urselmans Post-Doc Fellow Soil infrared spectroscopy World Agroforestry Center (ICRAF) United Nations Avenue, Gigiri PO Box 30677-00100 Nairobi, Kenya Ph: 254 20 722 4

Re: [R] Vectorization of three embedded loops

2009-01-14 Thread Thomas Terhoeven-Urselmans
ou would be > back > into (1)). > > Creating a variable sum as c() and increasing its size in a loop is > one > of the easiest ways to uselessly burn your CPU. > > Best regards, > > Carlos J. Gil Bellosta > http://www.datanalytics.com > > > On Wed, 20

Re: [R] Vectorization of three embedded loops

2009-01-14 Thread Thomas Terhoeven-Urselmans
ist[i] <- min(euc[rownames(start.b)[i],val] ) > > Maybe I'm blind, but I don't see where 'k' comes > in from the outer-most loop. > > > Patrick Burns > patr...@burns-stat.com > +44 (0)20 8525 0696 > http://www.burns-stat.com > (home of "T

[R] Vectorization of three embedded loops

2009-01-14 Thread Thomas Terhoeven-Urselmans
es(start.b),val[length(val)])! ="NA")),]; if(length(val)>=val.n)break; } return(val); } Regards, Thomas Dr. Thomas Terhoeven-Urselmans Post-Doc Fellow Soil infrared spectroscopy World Agroforestry Center (ICRAF) [[alternative HTML version deleted]] __