Updated Kalman filter implementation to new GPy

This commit is contained in:
Arno Solin 2015-02-26 19:12:26 +02:00 committed by Alexander Grigorievskiy
parent 2e7ad7b8d4
commit d061a10207
2 changed files with 755 additions and 0 deletions

View file

@ -0,0 +1,10 @@
import GPy
import numpy as np
import matplotlib.pyplot as plt
from GPy.models.state_space import StateSpace
X = np.linspace(0, 10, 2000)[:, None]
Y = np.sin(X) + np.random.randn(*X.shape)*0.1
kernel = GPy.kern.Matern32(X.shape[1])
m = StateSpace(X,Y, kernel)