Algorithms A2 Learning process of the AdaBoost algorithm | |
Input:Dataset;; Basic-learner; Iteration; | |
Process: | |
1. ; | % Initialize training set weight |
2. for : | |
3. | % use D and Dt to train the learner ht |
4. ; | % Calculate the error of learner ht |
5. if then break | |
6. ; | % Calculate the coefficient of learner ht |
7. | |
8. % Update the weight of training set, where Zt is the normalization factor. | |
% | |
9. end | |
Output: |