In matlab, compile MEX-C files using the following commands:

	mex adaboostLearning.c
	mex adaboostTesting.c
	mex Cmax.c

and run:

	adaboost

to perform cross validation experiments on active basis models.


Output:

	out_adaboost_run<i>.mat

contains trained linear strong classifier and its testing ROC, average precision, etc.
for the i-th cross validation run.