When Analytic Calculus Cracks AdaBoost Code

Jean-Marc Brossier, Olivier Lafitte, Lenny Réthoré
8/2/2023
cs.LG

No confident code implementation found for this paper.

Abstract

The principle of boosting in supervised learning involves combining multiple weak classifiers to obtain a stronger classifier. AdaBoost has the reputation to be a perfect example of this approach.

Show full abstract

This study analyzes the (two classes) AdaBoost procedure implemented in scikit-learn. This paper shows that AdaBoost is an algorithm in name only, as the resulting combination of weak classifiers can be explicitly calculated using a truth table. Indeed, using a logical analysis of the training set with weak classifiers constructing a truth table, we recover, through an analytical formula, the weights of the combination of these weak classifiers obtained by the procedure. We observe that this formula does not give the point of minimum of the risk, we provide a system to compute the exact point of minimum and we check that the AdaBoost procedure in scikit-learn does not implement the algorithm described by Freund and Schapire.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{brossier2023when,
  title  = {When Analytic Calculus Cracks AdaBoost Code},
  author = {Jean-Marc Brossier and Olivier Lafitte and Lenny Réthoré},
  year   = {2023},
  eprint = {2308.01070},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2308.01070v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2308.01070.svg)](https://codeofpaper.com/paper/2308.01070)

Discussion