mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-04-28 22:36:24 +02:00
moved randomize() in a more proper place
This commit is contained in:
parent
1705ecce91
commit
d9b03044ac
2 changed files with 2 additions and 2 deletions
|
|
@ -9,7 +9,6 @@ def opt_wrapper(m, **kwargs):
|
|||
This function just wraps the optimization procedure of a GPy
|
||||
object so that optimize() pickleable (necessary for multiprocessing).
|
||||
"""
|
||||
m.randomize()
|
||||
m.optimize(**kwargs)
|
||||
return m.optimization_runs[-1]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue