pykalman¶ Welcome to pykalman, the dead-simple Kalman Filter, Kalman Smoother, and EM library for Python: >>> from pykalman import KalmanFilter >>> import numpy as np >>> kf = KalmanFilter(transition_matrices = [[1, 1], [0, 1]], observation_matrices = [[0.1, 0.5], [-0.3, 0.0]]) >>> measurements = np.asarray([[1,0], [0,0], [0,1]]) # 3 observations >>> kf = kf.em(measurements, n_iter=5) >>> (filtere
![pykalman — pykalman 0.9.2 documentation](https://cdn-ak-scissors.b.st-hatena.com/image/square/2cf80c620a313048208bc20151d8b1deabf399e9/height=288;version=1;width=512/http%3A%2F%2Fpykalman.github.io%2F_images%2Fmath%2F5f313ca97065300a6e54e13b4990272beb0b6336.png)