ENH: Added templates for state-space kernels.

Those are childs of regular kernels with extra "sde" function.
This commit is contained in:
Alexander Grigorievskiy 2015-04-17 19:27:00 +03:00
parent d9cf9c3bff
commit 00e95f957d
8 changed files with 293 additions and 18 deletions

View file

@ -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 ->