mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-09 03:52:39 +02:00
ENH: Added templates for state-space kernels.
Those are childs of regular kernels with extra "sde" function.
This commit is contained in:
parent
d9cf9c3bff
commit
00e95f957d
8 changed files with 293 additions and 18 deletions
|
|
@ -4,12 +4,12 @@ import matplotlib.pyplot as plt
|
|||
|
||||
import GPy.models.state_space_new as SS_new
|
||||
|
||||
#X = np.linspace(0, 10, 2000)[:, None]
|
||||
#Y = np.sin(X) + np.random.randn(*X.shape)*0.1
|
||||
X = np.linspace(0, 10, 4000)[:, None]
|
||||
Y = np.sin(X) + np.random.randn(*X.shape)*0.1
|
||||
|
||||
# Need to run these lines when X and Y are imported ->
|
||||
X.shape = (X.shape[0],1)
|
||||
Y.shape = (Y.shape[0],1)
|
||||
#X.shape = (X.shape[0],1)
|
||||
#Y.shape = (Y.shape[0],1)
|
||||
# Need to run these lines when X and Y are imported <-
|
||||
|
||||
## Generation of minimal example data ->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue