
load digit_x.dat;
load digit_y.dat; 
digit_y = 2*digit_y-1;

load digit_x_test.dat;
load digit_y_test.dat; 
digit_y_test = 2*digit_y_test-1;

param = boost(digit_x,digit_y,1);

ytrain = eval_boost(digit_x,param);
errtrain = sum(ytrain.*digit_y<=0);

ytest   = eval_boost(digit_x_test,param);
errtest = sum(ytest.*digit_y_test<=0);
