search for: vote4

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

Did you mean: vote
2001 Nov 29
1
of c, cat, paste, and lists??
..."pop3" [26] "pop4" "pop5" "pop6" "pop7" "pop8" [31] "pop9" "s" "vote1" "vote10" "vote2" [36] "vote3" "vote4" "vote5" "vote6" "vote7" [41] "vote8" "vote9" "X" Now I want the "vote?" variables in a dataframe. I can grep them by > grep("vote",ls(),value=T) [1] "vote1" &quo...
2013 Jan 08
0
bagging SVM Ensemble
...ote1<-0 no2<-sum(prediction2==0) yes2<-sum(prediction2==1) vote2<-c() if(yes2>no2) vote2<-1 else vote2<-0 no3<-sum(prediction3==0) yes3<-sum(prediction3==1) vote3<-c() if(yes3>no3) vote3<-1 else vote3<-0 no4<-sum(prediction4==0) yes4<-sum(prediction4==1) vote4<-c() if(yes4>no4) vote4<-1 else vote4<-0 tab1 <- table(pred = prediction1,testset$class) tab2 <- table(pred = prediction2,testset$class) tab3 <- table(pred = prediction3,testset$class) tab4 <- table(pred = prediction4,testset$class) ecr1<-(tab1[2,1]+tab1[1,2])/sum(tab1) e...