mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-08 19:42:39 +02:00
Updated Kalman filter implementation to new GPy
This commit is contained in:
parent
2e7ad7b8d4
commit
d061a10207
2 changed files with 755 additions and 0 deletions
10
GPy/examples/state_space.py
Normal file
10
GPy/examples/state_space.py
Normal 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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue