// VectorizedNonZeroStoppingConjugateGradient g = new VectorizedNonZeroStoppingConjugateGradient(opt);
// g.optimize(numEpochs);
if ( optimizationAlgorithm == OptimizationAlgorithm.CONJUGATE_GRADIENT ) {
VectorizedNonZeroStoppingConjugateGradient g = new VectorizedNonZeroStoppingConjugateGradient(opt);
g.setTolerance(1e-5);
g.setMaxIterations(numEpochs);
g.optimize(numEpochs);
} else {
/*
VectorizedDeepLearningGradientAscent g = new VectorizedDeepLearningGradientAscent(opt);
g.setTolerance(1e-5);