[R] Ipred Bagging Question

Majid Javanmard
Sat, 12 Mar 2016 09:55:48 -0000

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]]