- Python Machine Learning By Example
- Yuxi (Hayden) Liu
- 298字
- 2021-07-02 12:41:36
Boosting
In the context of supervised learning, we define weak learners as learners that are just a little better than a baseline, such as randomly assigning classes or average values. Much like ants, weak learners are weak individually but together they have the power to do amazing things.
It makes sense to take into account the strength of each individual learner using weights. This general idea is called boosting. In boosting, all models are trained in sequence, instead of in parallel as in bagging. Each model is trained on the same dataset, but each data sample is under a different weight factoring, in the previous model's success. The weights are reassigned after a model is trained, which will be used for the next training round. In general, weights for mispredicted samples are increased to stress their prediction difficulty.
The following diagram illustrates the steps for boosting, again using classification as an example:

There are many boosting algorithms; boosting algorithms differ mostly in their weighting scheme. If you've studied for an exam, you may have applied a similar technique by identifying the type of practice questions you had trouble with and focusing on the hard problems.
Face detection in images is based on a specialized framework that also uses boosting. Detecting faces in images or videos is supervised learning. We give the learner examples of regions containing faces. There's an imbalance, since we usually have far more regions (about 10,000 times more) that don't have faces.
A cascade of classifiers progressively filters out negative image areas stage by stage. In each progressive stage, the classifiers use progressively more features on fewer image windows. The idea is to spend the most time on image patches, which contain faces. In this context, boosting is used to select features and combine results.
- 機(jī)器學(xué)習(xí)及應(yīng)用(在線實(shí)驗(yàn)+在線自測)
- Windows 8應(yīng)用開發(fā)實(shí)戰(zhàn)
- 快學(xué)Flash動(dòng)畫百例
- 網(wǎng)中之我:何明升網(wǎng)絡(luò)社會論稿
- Excel 2010函數(shù)與公式速查手冊
- Artificial Intelligence By Example
- 基于人工免疫原理的檢測系統(tǒng)模型及其應(yīng)用
- Learning Cassandra for Administrators
- Learn Microsoft Azure
- Win 7二十一
- Cisco UCS Cookbook
- 智能控制技術(shù)及其應(yīng)用
- Mastering Android Game Development with Unity
- 輸送技術(shù)、設(shè)備與工業(yè)應(yīng)用
- Kibana 7 Quick Start Guide