Definition
Regression Setting
Given a training set , draw a bootstrap sample from training data. Bagging estimator of at is defined as where is the prediction at based on a new training set
Classification Setting
Given a training set , draw a bootstrap sample from training data. Bagging estimator of at is defined as where is the prediction at based on a new training set
Facts
Bagging in a classification setting with zero-one loss often fails. Bagging a good classifier can make it better, but bagging a bad classifier can make it worse.
Bagging reduces the variance of an estimated prediction function. It seems to work especially well for high-variance, low-bias procedures, such as trees.