Boosting

From Bitnami MediaWiki
Jump to navigation Jump to search
Boosting (Vapnik, 1990, p.512)
  1. train the first learning machine to solve the pattern recognition problem.
  2. Train a second machin, using a new training set containing 50% of the examples (randomly chosen) correctly classified and 50% of those misclassified by machine 1.
  3. Train a new model using a training set that chooses examples that machines 1 and 2 disagree on
  • Idea of boosting is to combine these 3 classification rules into one (using, e.g., majority vote)

Types of Boosting

[math]\displaystyle{ \tilde{\omega}_{jm} }[/math]

Newton Tree Boosting Algorithm
  • Data set [math]\displaystyle{ \mathcal{D} }[/math]
  • Loss function [math]\displaystyle{ L }[/math]
  • Number of iterations, [math]\displaystyle{ M }[/math]
  • The learning rate, [math]\displaystyle{ \eta }[/math]
  • The number of terminal nodes, [math]\displaystyle{ T }[/math]
  1. Initialize [math]\displaystyle{ \hat{f}^{(0)}(x) = \hat{f}_0(x) = \hat{\theta}_0 = \underset{\theta}{\arg\min}\sum^n_{i=1}L(y_i, \theta) }[/math]
  2. For [math]\displaystyle{ m=1,2,\dots, M }[/math], do:
    1. [math]\displaystyle{ \hat{g}_m(x_i) = \left [ \dfrac{\partial L(y_i, f(x_i))}{\partial f(x_i)} \right ] }[/math]
    2. [math]\displaystyle{ \hat{h}_m(x_i) = \left [ \dfrac{\partial^2 L(y_i, f(x_i)}{\partial f(x_i)^2} \right ] }[/math]
    3. Select splits which maximize gain: [math]\displaystyle{ Gain = \frac{1}{2} \left [ \dfrac{G^2_L}{H_L} + \dfrac{G^2_R}{H_R} - \dfrac{G^2_{jm}}{H_{jm}} \right ] }[/math]
    4. Determine leaf weights: [math]\displaystyle{ \hat{w}_{jm} = -\frac{G_{jm}}{H_{jm}} }[/math]
    5. [math]\displaystyle{ \hat{f}_m(x) = \eta\sum^T_{j=1}\hat{w}_{jm}\,\mathbb{I}(x\in \hat{R}_{jm}) }[/math]
    6. [math]\displaystyle{ \hat{f}^{(m)}(x) = \hat{f}^{(m-1)}(x) + \hat{f}_m(x) }[/math]
    7. Output: [math]\displaystyle{ \hat{f}(x) \equiv \hat{f}^{M}(x) = \sum^M_{m=0}\hat{f}_m(x) }[/math]