Add adaptive bagging