joshday / OnlineStats.jl

⚡ Single-pass algorithms for statistics
https://joshday.github.io/OnlineStats.jl/latest/
MIT License
831 stars 62 forks source link

Kalman filters #245

Open yakir12 opened 2 years ago

yakir12 commented 2 years ago

[Feature request] Wouldn't it be a perfect fit and make total sense to have a Kalman filter as one of the stats here?

joshday commented 2 years ago

Yes, either that or to have an existing Kalman filter package depend on OnlineStatsBase.

I'm interested in adding it here, but I probably won't have the bandwidth to work on it anytime soon.

guilhermebodin commented 2 years ago

I could help in this case, we have a fairly performant Kalman filter implemented here https://github.com/LAMPSPUC/StateSpaceModels.jl/blob/master/src/filters/univariate_kalman_filter.jl

Currently, if we have all the matrices information (we don't need to estimate any parameters) the filter states are already calculated in an "online" manner.