[R] ensemble methods

2013-11-11 Thread Iut Tri Utami
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

Re: [R] need an assistance

2013-06-23 Thread Iut Tri Utami
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

[R] Fwd: need an assistance

2013-05-13 Thread Iut Tri Utami
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

[R] need an assistance

2013-05-10 Thread Iut Tri Utami
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

[R] generate gaussian

2013-05-08 Thread Iut
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

[R] Bls: RE: example

2013-04-27 Thread triutami . iut
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

[R] example

2013-04-26 Thread Iut Tri Utami
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