You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am trying use a mean function with parameters that will be learnt alongside the kernel.
My kernel is k = GPy.kern.RBF(input_dim=1,lengthscale=ls,variance=var)
I want a mean function to run m = GPy.models.GPRegression(x,y,kernel,mean_function=mean_func)
Hi, I am trying use a mean function with parameters that will be learnt alongside the kernel.
My kernel is
k = GPy.kern.RBF(input_dim=1,lengthscale=ls,variance=var)
I want a mean function to run
m = GPy.models.GPRegression(x,y,kernel,mean_function=mean_func)
where
I get
NameError: name 'c' is not defined
But the thing is, I want c to be found by the regression.
I checked the
parametric_mean_function
that is shown here but I don't quite understand what I am doing wrong.I would appreciate any help :)
The text was updated successfully, but these errors were encountered: