Problem p = new Problem(samples, feats);
LambdaSolveTagger prob = new LambdaSolveTagger(p, 0.0001, fnumArr);
maxentTagger.prob = prob;
if (config.getSearch().equals("owlqn")) {
CGRunner runner = new CGRunner(prob, config.getModel(), config.getSigmaSquared());
runner.solveL1(config.getRegL1());
} else if (config.getSearch().equals("owlqn2")) {
CGRunner runner = new CGRunner(prob, config.getModel(), config.getSigmaSquared());
runner.solveOWLQN2(config.getRegL1());
} else if (config.getSearch().equals("cg")) {
CGRunner runner = new CGRunner(prob, config.getModel(), config.getSigmaSquared());
runner.solveCG();
} else if (config.getSearch().equals("qn")) {
CGRunner runner = new CGRunner(prob, config.getModel(), config.getSigmaSquared());
runner.solveQN();
} else {
prob.improvedIterative(config.getIterations());
}
if (prob.checkCorrectness()) {