当解析微积分破解 AdaBoost 代码
When Analytic Calculus Cracks AdaBoost Code
AI总结:
本文通过逻辑分析和真值表解析计算 scikit-learn 中 AdaBoost 的弱分类器组合权重,发现其未实现 Freund 和 Schapire 的原始算法,并提供了计算风险精确最小点的系统。
摘要:
监督学习中的提升(boosting)原理涉及组合多个弱分类器以获得更强的分类器。AdaBoost 被认为是这种方法的一个完美范例。本研究分析了 scikit-learn 中实现的(两类)AdaBoost 程序。本文表明,AdaBoost 仅名义上是一种算法,因为弱分类器的最终组合可以通过真值表显式计算。确实,利用训练集的逻辑分析,通过弱分类器构建真值表,我们通过解析公式恢复了该程序获得的这些弱分类器组合的权重。我们观察到该公式并未给出风险的最小点,我们提供了一个系统来计算精确的最小点,并检查了 scikit-learn 中的 AdaBoost 程序并未实现 Freund 和 Schapire 所描述的算法。
英文摘要:
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. 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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。