- 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.
推薦閱讀
- 網上沖浪
- 協作機器人技術及應用
- 手把手教你學AutoCAD 2010
- Photoshop CS4經典380例
- Dreamweaver CS3網頁設計與網站建設詳解
- Getting Started with Containerization
- Windows XP中文版應用基礎
- 21天學通ASP.NET
- Pig Design Patterns
- 永磁同步電動機變頻調速系統及其控制(第2版)
- Embedded Programming with Modern C++ Cookbook
- Ceph:Designing and Implementing Scalable Storage Systems
- 高維聚類知識發現關鍵技術研究及應用
- Cloud Security Automation
- Citrix? XenDesktop? 7 Cookbook