* @param numEpochs the number of epochs
* @throws Exception
*/
public void trainTillConvergence(double learningRate, int numEpochs) {
LogisticRegressionOptimizer opt = new LogisticRegressionOptimizer(this, learningRate);
this.adaLearningRates.setMasterStepSize( learningRate );
this.biasAdaGrad.setMasterStepSize( learningRate );