Re: [R] Help me! using random Forest package, how to calculate Error Rates in the training set ?

2010-01-11 Thread bbslover
beginner, so I need learn a lot. Thank you kevin 在2010-01-12,"Liaw, Andy [via R]" 写道: -原始邮件- 发件人:"Liaw, Andy [via R]" 发送时间:2010年1月12日 星期二 收件人:bbslover 主题:Re: [R] Help me! using random Forest package, how to calcu

Re: [R] Help me! using random Forest package, how to calculate Error Rates in the training set ?

2010-01-11 Thread Liaw, Andy
From: bbslover > > now I am learining random forest and using random forest > package, I can get > the OOB error rates, and test set rate, now I want to get the > training set > error rate, how can I do? > > pgp.rf<-randomForest(x.tr,y.tr,x.ts,y.ts,ntree=1e3,keep.forest > =FALSE,do.trace=1e2)

[R] Help me! using random Forest package, how to calculate Error Rates in the training set ?

2010-01-10 Thread bbslover
now I am learining random forest and using random forest package, I can get the OOB error rates, and test set rate, now I want to get the training set error rate, how can I do? pgp.rf<-randomForest(x.tr,y.tr,x.ts,y.ts,ntree=1e3,keep.forest=FALSE,do.trace=1e2) using the code can get oob and t