Gradient LabSign up free

ML glossary › Bagging

What is bagging in machine learning?

Training many models on bootstrap samples and letting them vote.

Where it shows up

Trees and ensembles

Bagging

For a new example, every tree gives its answer and the majority wins: here 2 votes to 1. Individual mistakes tend to cancel out. This is bagging: bootstrap aggregating.

See bagging in motion. The lesson animates it step by step, free.

Open the lesson

Related terms