From 169394e746f2a9b5a3bb47af20cb5631db790a4a Mon Sep 17 00:00:00 2001 From: mzwiessele Date: Wed, 29 Jan 2014 09:56:19 +0000 Subject: [PATCH] scg optimizer scale bounds back to 1e-15 --- GPy/inference/scg.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GPy/inference/scg.py b/GPy/inference/scg.py index 57a81542..1cd4d6e4 100644 --- a/GPy/inference/scg.py +++ b/GPy/inference/scg.py @@ -69,8 +69,8 @@ def SCG(f, gradf, x, optargs=(), maxiters=500, max_f_eval=np.inf, display=True, success = True # Force calculation of directional derivs. nsuccess = 0 # nsuccess counts number of successes. beta = 1.0 # Initial scale parameter. - betamin = 1.0e-60 # Lower bound on scale. - betamax = 1.0e50 # Upper bound on scale. + betamin = 1.0e-15 # Lower bound on scale. + betamax = 1.0e15 # Upper bound on scale. status = "Not converged" flog = [fold]