|
Algorithm 1: Adaboost classifier—pseudo code |
| Input: Let D be the dataset that includes {(a1,b1), (a2,b2), ….. (am, bm)}; |
| Let λ be the learning (base) algorithm |
| Let T be the total No. of learning rounds. |
| Process: |
| D1(i) = 1/m |
| for time = 1, …, T; |
| ht = λ (D, Dt); weak learner is trained with Distribution Dt
|
|
t = [ (aii)]; Error measure (entropy) |
|
= ln ( ht
|
| Dt+1(i) = ∗
|
| |
| =
|
| Outcome: H(a) = sign (
|