[R] Ipred Bagging Question
Majid Javanmard
javanmard.majid at gmail.com
Sat Mar 12 10:55:48 CET 2016
Hello everyone
here is the code that implements bagging using ipred package :
library(ipred)
library(mlbench)
data("BostonHousing")
# Test set error (nbagg=25, trees pruned): 3.41 (Breiman, 1996a, Table 8)
mod <- bagging(medv ~ ., data=BostonHousing, coob=TRUE)
print(mod)
it`s output is just RMSE , but I need the values after bagging How can I
have it ?
in addition of values, 95% Confidence interval for each value is needed !?
I appreciate if someone help me
Thanks
[[alternative HTML version deleted]]
More information about the R-help
mailing list