Displaying 3 results from an estimated 3 matches for "vote2".
Did you mean:
vote
2001 Nov 29
1
of c, cat, paste, and lists??
..."pop10" "pop2" "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&...
2013 Jan 08
0
bagging SVM Ensemble
...t;- predict(modelrad,newdata=testset, decision.values=F)
prediction4<- predict(modeltan,newdata=testset, decision.values=F)
no1<-sum(prediction1==0)
yes1<-sum(prediction1==1)
vote1<-c()
if(yes1>no1) vote1<-1 else vote1<-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 <- tab...
2007 Dec 20
3
ActiveRecords Eager Loading
Hi,
I am doing an eager loading in ruby on rails using below statement
------------------------
Article.find(:all, :include => [:asset, :vote],
:conditions=>"assets.parent_id is null",
:order=>"stat_final_ranking desc", :limit=>20)
---------------------------------------
the above statement resulted in this expensive query.