compute test set error, generate kaggle submission