mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-04-29 23:06:22 +02:00
bug fix for lbfgs with max_iters big than 15000
This commit is contained in:
parent
d377071e3a
commit
2bf1be5500
1 changed files with 1 additions and 1 deletions
|
|
@ -124,7 +124,7 @@ class opt_lbfgsb(Optimizer):
|
|||
opt_dict['factr'] = self.bfgs_factor
|
||||
|
||||
opt_result = optimize.fmin_l_bfgs_b(f_fp, self.x_init, iprint=iprint,
|
||||
maxfun=self.max_iters, **opt_dict)
|
||||
maxfun=self.max_iters,maxiter=self.max_iters, **opt_dict)
|
||||
self.x_opt = opt_result[0]
|
||||
self.f_opt = f_fp(self.x_opt)[0]
|
||||
self.funct_eval = opt_result[2]['funcalls']
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue