- Python Machine Learning By Example
- Yuxi (Hayden) Liu
- 133字
- 2021-07-02 12:41:36
Bagging
Bootstrap aggregating or bagging is an algorithm introduced by Leo Breiman in 1994, which applies bootstrapping to machine learning problems. Bootstrapping is a statistical procedure that creates datasets from existing data by sampling with replacement. Bootstrapping can be used to analyze the possible values that arithmetic mean, variance, or other quantity can assume.
The algorithm aims to reduce the chance of overfitting with the following steps:
- We generate new training sets from input train data by sampling with replacement
- For each generated training set, we fit a new model
- We combine the results of the models by averaging or majority voting
The following diagram illustrates the steps for bagging, using classification as an example:

We'll explore how to employ bagging mainly in Chapter 6, Predicting Online Ads Click-Through with Tree-Based Algorithms.
推薦閱讀
- Instant Raspberry Pi Gaming
- Internet接入·網(wǎng)絡(luò)安全
- 現(xiàn)代測(cè)控電子技術(shù)
- Effective DevOps with AWS
- 網(wǎng)絡(luò)組建與互聯(lián)
- 嵌入式操作系統(tǒng)
- 運(yùn)動(dòng)控制系統(tǒng)
- 突破,Objective-C開發(fā)速學(xué)手冊(cè)
- Working with Linux:Quick Hacks for the Command Line
- 從零開始學(xué)Java Web開發(fā)
- AI的25種可能
- Learning ServiceNow
- 21天學(xué)通Linux嵌入式開發(fā)
- WOW!Photoshop CS6完全自學(xué)寶典
- 數(shù)據(jù)清洗