|
|
Algorithm 1 Outline of Real AdaBoost. |
|
|
Input: Training data samples, (si, li), i = 1,2,…, N; si ∈ ℝn, li ∈ {+1, −1} |
|
Initialization: Set uniform sample weights,
. |
Iteration: For t = 1, 2, …, T, repeat the following steps:
Train the weak classifier to obtain a class probability estimate, P(l = 1∣s) ∈ [0, 1], using the weighted samples.
Set
.
Update the sample weights:
, i = 1, 2, …, N.
Normalize the weight distribution:
.
|
|
Output: The final strong classifier,
|
|