mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-06-08 15:05:15 +02:00
updated scg messages
This commit is contained in:
parent
067206e83e
commit
1a6086546e
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ import sys
|
||||||
|
|
||||||
def print_out(len_maxiters, fnow, current_grad, beta, iteration):
|
def print_out(len_maxiters, fnow, current_grad, beta, iteration):
|
||||||
print '\r',
|
print '\r',
|
||||||
print '{0:>0{mi}g} {1:> 12e} {2:> 12e} {3:> 12e}'.format(iteration, float(fnow), float(beta), float(current_grad), mi=len_maxiters), # print 'Iteration:', iteration, ' Objective:', fnow, ' Scale:', beta, '\r',
|
print '{0:>0{mi}g} {1:> 12e} {2:< 12.6e} {3:> 12e}'.format(iteration, float(fnow), float(beta), float(current_grad), mi=len_maxiters), # print 'Iteration:', iteration, ' Objective:', fnow, ' Scale:', beta, '\r',
|
||||||
sys.stdout.flush()
|
sys.stdout.flush()
|
||||||
|
|
||||||
def exponents(fnow, current_grad):
|
def exponents(fnow, current_grad):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue