Re: [R] tune an support vector machine

2013-12-09 Thread Uwe Bohne
ell_Formel<-l[[bestesModell_Index]] #bestesModell_Parameter bestesModell<-c(bestesModell_Index,bestesModell_Gamma,bestesModell_Cost, bestesModell_Formel) bestesModell_SVM<-svm(bestesModell_Formel, data=train, kernel="radial", gamma=bestesModell_Gamma, cost=best

Re: [R] tune an support vector machine

2013-12-07 Thread Uwe Bohne
ot;type")) l[[1]] svmtune=tune.svm(l[[2]], data=train, kernel="radial", cost=2^(-2:5), gamma=2^(-2:1),cross=10) Gesendet: Samstag, 07. Dezember 2013 um 09:15 Uhr Von: "Uwe Bohne" An: "Wuming Gong" Cc: "r-help mailinglist" Betreff

Re: [R] tune an support vector machine

2013-12-07 Thread Uwe Bohne
tely I just have problems to make it in a loop. I tried for(iin1:nrow(namen2)){paste("a",i,"q",sep="")<-t(as.data.frame(paste("a", i,"[!is.na(a",i,")]", sep="")))} and produced error. Probably i didnt paste correct

[R] tune an support vector machine

2013-12-06 Thread Uwe Bohne
Hej all, actually i try to tune a SVM in R and use the package "e1071" wich works pretty well. I do some gridsearch in the parameters and get the best possible parameters for classification. Here is my sample code type<-sample(c(-1,1) , 20, replace = TRUE ) weight<-sample

[R] Installation problems: Linux Java and R not working together

2013-11-19 Thread Uwe Bohne
Dear community, I almost tried for 3 days now to install rJava and package FSelector on my Linux machine but couldn't do so. I searched all the forums and tried some tricks ... but unfortunately couldn't find any solution. First of all I did try to install rJava in my rkward wi

[R] Linux Java and R not working together

2013-11-13 Thread Uwe Bohne
Dear community, I almost tried for 3 days now to install rJava and package FSelector on my Linux machine but couldn't do so. I searched all the forums and tried some tricks ... but unfortunately couldn't find any solution. First of all I did try to install rJava in my rkward wi