- 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.
推薦閱讀
- PIC單片機(jī)C語言非常入門與視頻演練
- DevOps:Continuous Delivery,Integration,and Deployment with DevOps
- 步步圖解自動(dòng)化綜合技能
- 云原生架構(gòu)進(jìn)階實(shí)戰(zhàn)
- Microsoft System Center Confi guration Manager
- Pentaho Analytics for MongoDB
- 在實(shí)戰(zhàn)中成長:C++開發(fā)之路
- Mastering Text Mining with R
- 工業(yè)機(jī)器人操作
- 30天學(xué)通Java Web項(xiàng)目案例開發(fā)
- Hands-On Geospatial Analysis with R and QGIS
- Cisco UCS Cookbook
- CPLD/FPGA技術(shù)應(yīng)用
- 中文版Flash CS6高手速成
- Office 2007實(shí)用技巧四合一