# Incremental online learning of Turing.jl models

**URL:** <https://discourse.julialang.org/t/incremental-online-learning-of-turing-jl-models/100386>\
**Category:** General Usage\
**Tags:** turing\
**Created:** [June 15, 2023, 9:54am UTC](https://discourse.julialang.org/t/incremental-online-learning-of-turing-jl-models/100386 "2023-06-15T09:54:49Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![filchristou](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/filchristou/32/26760_2.png) [@filchristou](https://discourse.julialang.org/u/filchristou)\
**Post date:** [June 16, 2023, 6:33am UTC](https://discourse.julialang.org/t/incremental-online-learning-of-turing-jl-models/100386/2 "2023-06-16T06:33:29Z")

</div>

Hello! You must be searching for what people are referring to as “Recursive Bayes”. This will also lead you to [this discussion](https://discourse.julialang.org/t/recursive-bayes/55036). It’s definitely worth also mentioning the work from the github organization biaslab [RxInfer.jl](https://biaslab.github.io/rxinfer-website/), which I think it’s not in the first discussion.

WIth traditional MCMC you will have to resample all your model data with every new measurement you receive. All different techniques I think them more or less as an efficient approximation of that.  
If you are interested in a discount factor, i.e. the parameters of interests are evolving with time, you definitely need to move away from traditional MCMC. Sequential Monte Carlo (SMC), for example, targets this. (there is this tool [SMC.jl](https://github.com/FRBNY-DSGE/SMC.jl) although I haven’t tried that out)

With respect to time series, people have been using a lot Kalman filters. An alternative, if you find that restricting, are Gaussian processes which is a very powerful tool. Both are considered Bayesian and provide nice uncertainty estimations. However the modeling decisions are fixed to (MV-)normal, but that shouldn’t scare you for the second case too much because they manage to get very flexible.

---

_[View the full topic](https://discourse.julialang.org/t/incremental-online-learning-of-turing-jl-models/100386)._
