Dear Mr/Mrs
I am Iut, student of graduate student in Bogor Agriculture Institur
I read a book on ensemble methods in data mining by Seni and Elder and find
R code about bagging.
I am confused how to call these functions and and how to agregate it with
the majority votes?
I think there is missing
err.mean[i] <- mean(abs(test.data$y - round(apply(pred,2,mean
+ err.vote[i] <- mean(abs(test.data$y -
round(apply(ifelse(pred>.5,1,0),2,mean
+ }
Error in apply(pred, 2, mean) : dim(X) must have a positive length
I'd appreciate any advice about the algorithm. Thanks for any
err.mean[i] <- mean(abs(test.data$y - round(apply(pred,2,mean
+ err.vote[i] <- mean(abs(test.data$y -
round(apply(ifelse(pred>.5,1,0),2,mean
+ }
Error in apply(pred, 2, mean) : dim(X) must have a positive length
I'd appreciate any advice about the algorithm. Thanks for any
err.mean[i] <- mean(abs(test.data$y - round(apply(pred,2,mean
+ err.vote[i] <- mean(abs(test.data$y -
round(apply(ifelse(pred>.5,1,0),2,mean
+ }
Error in apply(pred, 2, mean) : dim(X) must have a positive length
I'd appreciate any advice about the algorithm. Thanks for any
Dear Sir,
My name is Iut Tri Utami. i am beginning user. I have a problem about
generate data in R. It consists of one disk generated by a Gaussian N(0,
0.167) and one ring generated by a Gaussian N(R, 0.1). The mean R was
generated from its polar coordinates. The angle was drawn from a uniform
olar coordinates?
Thanks for your help.
Best wishes,
Iut
--Pesan Asli--
Dari: John Kane
Ke: Iut Tri Utami
Ke: r-help@r-project.org
Perihal: RE: [R] example
Terkirim: 27 Apr 2013 8:19 PM
https://github.com/hadley/devtools/wiki/Reproducibility
http://stackoverflow.com/questions/5963269/how-to-ma
Dear Sir,
My name is Iut Tri Utami. i am beginning user. I have a problem about
generate data in R. It consists of one disk generated by a Gaussian N(0,
0.167) and one ring generated by a Gaussian N(R, 0.1). The mean R was
generated from its polar coordinates. The angle was drawn from a uniform
7 matches
Mail list logo