mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-10 04:22:38 +02:00
added bgplvm_simulation on same simulation
This commit is contained in:
parent
3baeeb1e35
commit
009b7314bf
2 changed files with 114 additions and 76 deletions
|
|
@ -345,6 +345,16 @@ class MRD(model):
|
|||
|
||||
def _debug_optimize(self, opt='scg', maxiters=500, itersteps=10):
|
||||
iters = 0
|
||||
|
||||
import multiprocessing
|
||||
class M(multiprocessing.Process):
|
||||
def __init__(self, q, *args, **kw):
|
||||
self.q = q
|
||||
super(M, self).__init__(*args, **kw)
|
||||
pass
|
||||
def run(self):
|
||||
pass
|
||||
|
||||
optstep = lambda: self.optimize(opt, messages=1, max_f_eval=itersteps)
|
||||
self._debug_plot()
|
||||
raw_input("enter to start debug")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue