AdaBoost Weighted: Why focus more on previous errors in the next round

Implements a cycle of weight updates for classic binary AdaBoost, distinguishing between sample weights and additional independent information.

• Step by stepCollate in 2 self-measured2 First-hand sources
Start Body
Learning objectives and first steps2 objectives . 1 first fix

Try to do it after reading

  • Execute classic binary AdaBoost weight update
  • Distinguishing sample weightings from new independent information

Suggested first

  • Distinguishing Probability from Training Certification

The next round isn't just training the same model

The classic binary AdaBoost gives a weight to each training sample to determine its weight in the final vote based on the weight error rate of the current weak separator, and then to increase the relative importance of the miscalculation sample. The process consists of multiple rounds of simple taxonomy as an added decision function, but it is not a direct comprehension of probability, nor is it a guarantee that each round will be improved single-lined on the original accuracy rate.

A round of five samples

The initial weight of the five samples was 0.2, the weak separator was wrong by 1 and the weight error was 0.2. The separator coefficient is one in two times log(0.8/0.2), or about 0.693147. The correct sample weights are multiplied by exp(-α) = 0.5, with each line changed by 0.1; Error sample by exp(α) = 2, variable 0.4. After the weight of 0.8 was re-allocated, the four correct samples were 0.125 each and the one was mis-segregated to 0.5. The next round, if it is still ignored, will have a higher weighting error. There has been no increase in the total number of samples, and what has changed is the way training targets focus on existing errors, which should not be interpreted as gathering more evidence.

Error Rate Boundary and Stop

In this form, the error rate of the weak classifier needs to be superior to random binary guesses, with a special treatment of numerical boundaries when it is completely correct or completely wrong. Different types of extensions, loss forms and software versions may use different coefficients and updates, and one half of the formula here cannot be set unconditionally to all interfaces named AdaBoost.

Noise & Complexity

If a label is itself wrong, a repeated increase in its weight may allow subsequent models to focus too much on noise. The learning rate, the complexity of the basic learners and the number of rotations combined to influence the results need to be independently validated. Sample weights may also be combined with original business costs or sampling weights and their origin should be clearly identified and not confused into an unexplained number.

How to use the output

The positive or negative category of the final weighted vote, the size of which reflects the consolidated evidence, but the probabilistic meaning requires a different model or calibration. The assessment should be based not only on training errors, but also on observation of spacing, verification of losses and performance of key populations. In the event of sudden deviations in a particular round of indicators, it is possible to check at the same time whether the wrong allocation of sample weights is concentrated, the quality of labels and the actual use of weights by the base learner. When training tests contain near-repeated data, complex integration also remembers noise patterns. Higher training accuracy through increased rotations does not demonstrate a stronger generalization of the system; Re-enactment is an optimistic mechanism that does not replace the reconciliation of data disaggregation, label maturity and deployment time.

α=12log1−εε; wi′∝wiexp(−αyihi)

Self-measurement and provocator

What is the weight of the misallocation sample after the standardization?

0.4/0.8 = 0.5; Four correct samples of 0.1/0.8 = 0.125 each.

Why is the label noise likely to be magnified?

The continuously misallocated sample would gain greater relative weight, and if the error came from the label itself, the follow-on learner could repeat the noise.

Sources and reconciliations

Definitions, methods and interfaces are available.

  1. scikit-learn — Ensembles
  2. An Introduction to Statistical Learning — author website

Figures and calculations are reorganized according to this chapter. Mathematical measurements, framework operations and real business effects are described separately in the body of the text.

← Back to the knowledge directory
Ask Max Ask about this site
Ask Max ↗

Opening the assistant…

Paper figure

Photo comments

LEAVE A NOTE

About this photograph

Connecting to the discussion board…

    Comments become public after moderation. You can delete your own comments from this browser.
    No email is required. Clearing cookies prevents this browser from claiming earlier comments.

    MAX WANG / INDEX

    Find something

    Enter a keyword, or explore the directory below.