Domanda di colloquio di BNP Paribas

Bagging ? Boosting ?

Risposta di colloquio

Anonimo

11 mag 2018

In bagging technique, data set is divided into subsets using sampling with replacement, then a model is trained on each subset. The final prediction is given by voting or averaging result of the models. Bagging is done in parallel. Boosting, however, is sequential. After each round of prediction, the mis-predicted results get higher weight, so that they gain more attention in the next round of training. Both bagging and boosting are ensemble learning strategies.

1