This is a Matlab implementation of Adaboost for binary classification. The weak learner is kmeans. The reason why this weaker learner is used is that this is the one of simplest learner that works for both discrete and continues data. I make the code very succinct so that it is easy to read and learn how Adaboost works.
This package is now a part of the PRML toolbox (http://www.mathworks.com/matlabcentral/fileexchange/55826-pattern-recognition-and-machine-learning-toolbox).
Inspired by: Pattern Recognition and Machine Learning Toolbox