mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-07 02:52:40 +02:00
some work on periodics
This commit is contained in:
parent
88c080eece
commit
efd262965e
9 changed files with 308 additions and 754 deletions
|
|
@ -68,8 +68,7 @@ def plot_fit(model, plot_limits=None, which_data_rows='all',
|
|||
if len(free_dims) == 1:
|
||||
|
||||
#define the frame on which to plot
|
||||
resolution = resolution or 200
|
||||
Xnew, xmin, xmax = x_frame1D(X[:,free_dims], plot_limits=plot_limits)
|
||||
Xnew, xmin, xmax = x_frame1D(X[:,free_dims], plot_limits=plot_limits, resolution=resolution or 200)
|
||||
Xgrid = np.empty((Xnew.shape[0],model.input_dim))
|
||||
Xgrid[:,free_dims] = Xnew
|
||||
for i,v in fixed_inputs:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue