updating adaboost

This commit is contained in:
mhjensen
2019-11-04 11:01:16 +01:00
parent fb9515fdf0
commit 9bc330e85b
9 changed files with 63 additions and 8 deletions
@@ -1501,6 +1501,14 @@ where the function $I()$ is one if we misclassify and zero if we classify correc
===== Basic Steps of AdaBoost =====
With the above definitions we are now ready to set up the algorithm for AdaBoost.
The basic idea is to set up weights which will be used to scale the correctly classified and the misclassified cases.
o We start by initializing all weights to $w_i = 1/n$, with $i=0,1,2,\dots n-1$. It is to see then that $\sum_{i=0}^{n-1}w_i = 1$.
o We rewrite the misclassification error as
!bt
\[
\mathrm{err}=\frac{\sum_{i=0}^{n-1}w_iI(y_i\ne G(\bm{X}_{i*})}{\sum_{i=0}^{n-1}w_i},
\]
!et