search for: bspring28

Displaying 2 results from an estimated 2 matches for "bspring28".

2010 Feb 18
3
svm regression
Hi, I am trying to use svm for regression data. this is how my data looks like: >dataTrain x y z 1 4 6 2 5 4 3 7 5 >classTrain a 2 3 4 >dataTest x y z 1 7 2 2 8 3 >classTest a 3 4 5 building the model model<-svm(dataTrain,classTrain,type="nu-regression") pred <- predict(model, dataTest) > pred 1 2 3.008842 3.120078 I
2008 Oct 23
3
R random number generation
i have to generate random numbers from length 2 to 30 and length two should have the numbers 1,2 and length 3 should have the numbers 1,2,3 so on and so forth till size 30.i should get an sequence like 2222221 or 1111112 till both the values appear and for 3 it should be 1222223 or 3331112.i should get similar output for all sizes which means i should get 30 sequences.but am getting only one