mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-15 06:52:39 +02:00
GP_regression demo working with new style gradients for rbf, linear, white, bias
This commit is contained in:
parent
5f92ff6785
commit
78d1abfc22
5 changed files with 18 additions and 25 deletions
|
|
@ -29,7 +29,7 @@ class GP_regression(model):
|
|||
|
||||
def __init__(self,X,Y,kernel=None,normalize_X=False,normalize_Y=False, Xslices=None):
|
||||
if kernel is None:
|
||||
kernel = kern.rbf(X.shape[1]) + kern.white(X.shape[1])
|
||||
kernel = kern.rbf(X.shape[1]) + kern.white(X.shape[1]) + kern.bias(X.shape[1])
|
||||
|
||||
# parse arguments
|
||||
self.Xslices = Xslices
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue