+ StaticUtils.computeAccuracy(h, test));
}
public static LinearClassifier trainMaxEnt(
ArrayList<ClassificationInstance> train, Alphabet xA, Alphabet yA) {
MaxEntropy maxent = new MaxEntropy(10.0, xA, yA,
new CompleteFeatureFunction(xA, yA));
LinearClassifier h = maxent.batchTrain(train);
return h;
}