public static LinearClassifier trainAdaBoost(int numIters,
ArrayList<ClassificationInstance> train, Alphabet xA, Alphabet yA) {
AdaBoost b = new AdaBoost(numIters, xA, yA,
new CompleteFeatureFunction(xA, yA));
LinearClassifier h = b.batchTrain(train);
return h;
}
}