} catch (OptimizationException e) { e.printStackTrace(); logger.info ("Catching exception."); if (numResets < maxResets) {
throw new OptimizationException("Line search could not step in the current direction. " + "(This is not necessarily cause for alarm. Sometimes this happens close to the maximum," + " where the function may be very flat.)"); throw new OptimizationException("Line search could not step in the current direction. " + "(This is not necessarily cause for alarm. Sometimes this happens close to the maximum," + " where the function may be very flat.)");
throw new OptimizationException("Line search could not step in the current direction. " + "(This is not necessarily cause for alarm. Sometimes this happens close to the maximum," + " where the function may be very flat.)"); throw new OptimizationException("Line search could not step in the current direction. " + "(This is not necessarily cause for alarm. Sometimes this happens close to the maximum," + " where the function may be very flat.)");
} catch (OptimizationException e) { e.printStackTrace(); logger.info ("Catching exception."); if (numResets < maxResets) {
throw new OptimizationException("Line search could not step in the current direction. " + "(This is not necessarily cause for alarm. Sometimes this happens close to the maximum," + " where the function may be very flat.)"); throw new OptimizationException("Line search could not step in the current direction. " + "(This is not necessarily cause for alarm. Sometimes this happens close to the maximum," + " where the function may be very flat.)");
} catch (OptimizationException e) { e.printStackTrace(); logger.info ("Catching exception."); if (numResets < maxResets) {
finishedTraining = true; } catch (OptimizationException e) { e.printStackTrace(); logger.info ("Catching OptimizationException; saying converged."); finishedTraining = true; finishedTraining = true; } catch (OptimizationException e) { e.printStackTrace(); logger.info ("Catching OptimizationException; saying converged."); finishedTraining = true;
finishedTraining = true; } catch (OptimizationException e) { e.printStackTrace(); logger.info ("Catching OptimizationException; saying converged."); finishedTraining = true; finishedTraining = true; } catch (OptimizationException e) { e.printStackTrace(); logger.info ("Catching OptimizationException; saying converged."); finishedTraining = true;
finishedTraining = true; } catch (OptimizationException e) { e.printStackTrace(); logger.info ("Catching OptimizationException; saying converged."); finishedTraining = true; finishedTraining = true; } catch (OptimizationException e) { e.printStackTrace(); logger.info ("Catching OptimizationException; saying converged."); finishedTraining = true;