[R] Ada package question

2009-09-08 Thread pramil cheriyath
Hi, I am using ada to predict a data set with 36 variables ada(x~.,data=train,iter=Iter, control=rpart.control(maxdepth=4,cp=-1,minsplit=0,xval=0)) can any one tell me in in laymans terms maxdepth- how do you set this, how do you change this to improve predictions success cp- same question fo

[R] Beginner-how to down size a large sample

2009-02-11 Thread pramil cheriyath
I have this large data set with an outcome variable 0 and 1, I want to randomly pick 100 from each group and create another data set. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http