Thanks for your code.
I had a question. For each subject I have a feature vector including 144 features. Class labels are 0 and 1. The number of subjects are 20. I used your code and accuracy was so low, while I used SVM's accuracy is high. What is its reason? Do you think too many features can affect the accuracy of adaboost? please let me know. Thanks a lot