SheffieldML / deepGPy

Deep GPs with GPy
BSD 3-Clause "New" or "Revised" License
31 stars 10 forks source link

Stochastic optimization #7

Open Homesh01 opened 8 years ago

Homesh01 commented 8 years ago

So for the one hidden layer the example provides the following:

model1 = build_supervised(X, Y, Qs=(1,), Ms=(15,15)) model1.optimize('bfgs', max_iters=1000, messages=1)

What would be the code required to perform stochastic optimization for this example? model1.optimize_SGD() doesn't work; returns the error NameError: global name 'SGD' is not defined

Thanks