141142143144145146147148149150
switch (solver) { case AbstractAlgorithm.SOLVER_ADAGRAD_HINGE: return new AdaGradHinge(alpha, rho, eps); case AbstractAlgorithm.SOLVER_ADAGRAD_LR: return new AdaGradLR(alpha, rho, eps); } return null; }