Bagging

I want to go through the Wikipedia series on Machine Learning and Data mining. Data mining is the process of extracting and discovering patterns in large data sets involving methods at the intersection of machine learning, statistics, and database systems.

Date Created:
0 22

References



Notes


Bootstrap aggregating, also called bagging, is a machine learning ensemble meta-algorithm designed to improve the stability and accuracy of ML classification and regression algorithms. It also reduced variance and overfitting. Although it is usually applied to decision tree methods, it can be used with any type of method.

Bagging

There are three types of datasets in bootstrap aggregating. These are the original, bootstrap, and out-of-bag datasets. The bootstrap dataset is made by randomly picking objects from the original dataset. It must be same size of the original dataset, but the bootstrap dataset can have duplicate objects. The out-of-bag dataset represents the instances that were not in the bootstrap dataset. The next step of the algorithm involves the generation of decision trees from the bootstrapped dataset.

Advantages:

  • Many weak learners aggregated typically outperform a single learner over the entire set, and have less overfit
  • Reduces variance in high-variance low-bias weak learner, which can improve efficiency
  • Can be performed in parallel, as each separate bootstrap can be processed on its own before aggregation

Disadvantages:

  • For a weak learner with high variance, bagging will also carry high bias into its aggregate
  • Loss of interpretability of a model
  • Can be computationally expensive depending on the dataset

Comments

You have to be logged in to add a comment

User Comments

Insert Math Markup

ESC
About Inserting Math Content
Display Style:

Embed News Content

ESC
About Embedding News Content

Embed Youtube Video

ESC
Embedding Youtube Videos

Embed TikTok Video

ESC
Embedding TikTok Videos

Embed X Post

ESC
Embedding X Posts

Embed Instagram Post

ESC
Embedding Instagram Posts

Insert Details Element

ESC

Example Output:

Summary Title
You will be able to insert content here after confirming the title of the <details> element.

Insert Table

ESC
Customization
Align:
Preview:

Insert Horizontal Rule

#000000

Preview:


View Content At Different Sizes

ESC

Edit Style of Block Nodes

ESC

Edit the background color, default text color, margin, padding, and border of block nodes. Editable block nodes include paragraphs, headers, and lists.

#ffffff
#000000

Edit Selected Cells

Change the background color, vertical align, and borders of the cells in the current selection.

#ffffff
Vertical Align:
Border
#000000
Border Style:

Edit Table

ESC
Customization:
Align:

Upload Lexical State

ESC

Upload a .lexical file. If the file type matches the type of the current editor, then a preview will be shown below the file input.

Upload 3D Object

ESC

Upload Jupyter Notebook

ESC

Upload a Jupyter notebook and embed the resulting HTML in the text editor.

Insert Custom HTML

ESC

Edit Image Background Color

ESC
#ffffff

Insert Columns Layout

ESC
Column Type:

Select Code Language

ESC
Select Coding Language

Insert Chart

ESC

Use the search box below

Upload Previous Version of Article State

ESC