Which of the following is a key difference between bagging and boosting ensemble methods?
-
A
Bagging trains models sequentially focusing on hard examples; boosting trains them in parallel
-
B
Bagging trains models in parallel on bootstrapped samples; boosting trains sequentially correcting prior errors
-
C
Bagging only works for regression; boosting only works for classification
-
D
Bagging uses weighted voting; boosting uses simple averaging