# \#rxinfer

**URL:** https://discourse.julialang.org/tag/rxinfer/1194.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [\[ANN\] RxInferServer + Python SDK: Fast Inference from Python (and more)](https://discourse.julialang.org/t/ann-rxinferserver-python-sdk-fast-inference-from-python-and-more/127969)

<div class="topic-metadata">

**Author:** [@bvdmitri](https://discourse.julialang.org/u/bvdmitri)\
**Replies:** 0\
**Last updated:** [April 11, 2025, 10:21am UTC](https://discourse.julialang.org/t/ann-rxinferserver-python-sdk-fast-inference-from-python-and-more/127969 "2025-04-11T10:21:29Z")

</div>

Hi everyone, We’re excited to share that Lazy Dynamics has released a Python SDK for RxInferServer, making it easy to call high-performance RxInfer models from Python. But there’s more: RxInferServer itself is designe…

---

## [\[ANN\] Bayesian Online Changepoint Detection implementation (BOCD.jl)](https://discourse.julialang.org/t/ann-bayesian-online-changepoint-detection-implementation-bocd-jl/127515)

<div class="topic-metadata">

**Author:** [@PedroPizarro](https://discourse.julialang.org/u/PedroPizarro)\
**Replies:** 0\
**Last updated:** [March 30, 2025, 3:02pm UTC](https://discourse.julialang.org/t/ann-bayesian-online-changepoint-detection-implementation-bocd-jl/127515 "2025-03-30T15:02:55Z")

</div>

As part of my MSc studies, I developed the BOCD.jl, a Julia implementation of the Bayesian Online Changepoint Detection (BOCD) algorithm, based on the Adams & MacKay’s 2007 paper, “Bayesian Online Changepoint Detection”. …

---

## [RxInfer.jl beginner question re; UndefRefError](https://discourse.julialang.org/t/rxinfer-jl-beginner-question-re-undefreferror/126660)

<div class="topic-metadata">

**Author:** [@slwu89](https://discourse.julialang.org/u/slwu89)\
**Replies:** 6\
**Last updated:** [March 9, 2025, 8:29pm UTC](https://discourse.julialang.org/t/rxinfer-jl-beginner-question-re-undefreferror/126660 "2025-03-09T20:29:21Z")

</div>

Hi all, I just started with RxInfer.jl for simulations of patient recruitment in clinical trials. The simplest model is a simple Poisson-Gamma model, where each clinical site draws the (time homogeneous) rate for the Poi…

---

## [\[ANN\] Multi Agent Trajectory Planning with RxInfer](https://discourse.julialang.org/t/ann-multi-agent-trajectory-planning-with-rxinfer/126416)

<div class="topic-metadata">

**Author:** [@bvdmitri](https://discourse.julialang.org/u/bvdmitri)\
**Replies:** 0\
**Last updated:** [February 28, 2025, 9:16am UTC](https://discourse.julialang.org/t/ann-multi-agent-trajectory-planning-with-rxinfer/126416 "2025-02-28T09:16:20Z")

</div>

A new advanced example that demonstrates multi-agent trajectory planning using probabilistic inference is now available in the https://examples.rxinfer.com repository. Example Overview This example shows how to formul…

---

## [\[RELEASE\] RxInfer 4.0.0 and updated documentation](https://discourse.julialang.org/t/release-rxinfer-4-0-0-and-updated-documentation/126145)

<div class="topic-metadata">

**Author:** [@bvdmitri](https://discourse.julialang.org/u/bvdmitri)\
**Replies:** 2\
**Last updated:** [February 24, 2025, 8:40am UTC](https://discourse.julialang.org/t/release-rxinfer-4-0-0-and-updated-documentation/126145 "2025-02-24T08:40:55Z")

</div>

We are pleased to announce the release of RxInfer.jl v4.0.0, which introduces significant enhancements to our probabilistic programming framework. A bit of a background RxInfer.jl is a Julia package designed for eff…

---

## [Delusional drone in RxInfer example](https://discourse.julialang.org/t/delusional-drone-in-rxinfer-example/117057)

<div class="topic-metadata">

**Author:** [@Andreas\_Poulsen](https://discourse.julialang.org/u/Andreas_Poulsen)\
**Replies:** 6\
**Last updated:** [September 17, 2024, 3:38pm UTC](https://discourse.julialang.org/t/delusional-drone-in-rxinfer-example/117057 "2024-09-17T15:38:26Z")

</div>

Hi I am recreating the drone example from https://github.com/ReactiveBayes/RxInferExamples.jl/blob/main/drone/drone\_simulation.ipynb. It occured to me, that the plot/animation is based on the models posteriors. Does thi…

---

## [Pick the value from a result](https://discourse.julialang.org/t/pick-the-value-from-a-result/118713)

<div class="topic-metadata">

**Author:** [@Stephen](https://discourse.julialang.org/u/Stephen)\
**Replies:** 1\
**Last updated:** [August 29, 2024, 8:36am UTC](https://discourse.julialang.org/t/pick-the-value-from-a-result/118713 "2024-08-29T08:36:46Z")

</div>

Here is a solution of a Bayesian inference using RxInfer: julia\> result Inference results: Posteriors | available for (i\_β) julia\> result.posteriors Dict{Symbol, Vector{Dirichlet{Float64, Vector{Float64}, Float…

---

## [RxInfer Domain Logic](https://discourse.julialang.org/t/rxinfer-domain-logic/117355)

<div class="topic-metadata">

**Author:** [@spolk](https://discourse.julialang.org/u/spolk)\
**Replies:** 3\
**Last updated:** [August 27, 2024, 12:46pm UTC](https://discourse.julialang.org/t/rxinfer-domain-logic/117355 "2024-08-27T12:46:45Z")

</div>

Hello! I am trying to modify this example from RxInfer.jl’s documentation and get an error saying I didn’t initialize marginals when two unobserved states influence multiple observable results in the domain logic in a B…

---

## [Issues with porting Turing.jl to RxInfer.jl](https://discourse.julialang.org/t/issues-with-porting-turing-jl-to-rxinfer-jl/115696)

<div class="topic-metadata">

**Author:** [@sdwfrost](https://discourse.julialang.org/u/sdwfrost)\
**Replies:** 3\
**Last updated:** [June 28, 2024, 9:49pm UTC](https://discourse.julialang.org/t/issues-with-porting-turing-jl-to-rxinfer-jl/115696 "2024-06-28T21:49:51Z")

</div>

Hi everyone, I’m trying to port a Turing.jl example to RxInfer.jl. However, the following throws an error; any tips on how to reformat? using OrdinaryDiffEq using SciMLSensitivity using RxInfer Y = \[7, 6, 10, 8, 13, 17…

---

## [GraphPPL RxInfer Model](https://discourse.julialang.org/t/graphppl-rxinfer-model/114255)

<div class="topic-metadata">

**Author:** [@ohmsweetohm1](https://discourse.julialang.org/u/ohmsweetohm1)\
**Replies:** 3\
**Last updated:** [June 26, 2024, 4:44pm UTC](https://discourse.julialang.org/t/graphppl-rxinfer-model/114255 "2024-06-26T16:44:04Z")

</div>

I have tried to extend the example from here to include an unknown parameter theta: @model function rotate\_ssm(y, x0, Q, P) x\_prior ~ MvNormalMeanCovariance(mean(x0), cov(x0)) x\_prev = x\_prior theta ~ Norma…

---

## [Memoization in mcmc](https://discourse.julialang.org/t/memoization-in-mcmc/109694)

<div class="topic-metadata">

**Author:** [@swsw](https://discourse.julialang.org/u/swsw)\
**Replies:** 0\
**Last updated:** [February 4, 2024, 9:13am UTC](https://discourse.julialang.org/t/memoization-in-mcmc/109694 "2024-02-04T09:13:04Z")

</div>

Hi there, I wondered if how Turing or RxInfer deals w/ the following situation. For example, I have 10 parameters x1,…x10, the likelihood function is as follows. x1^2 + … + x10^2 Apparently, when updating x1, the o…

---

## [Matrix \* Vector randomvar in RxInfer model](https://discourse.julialang.org/t/matrix-vector-randomvar-in-rxinfer-model/104945)

<div class="topic-metadata">

**Author:** [@gvdr](https://discourse.julialang.org/u/gvdr)\
**Replies:** 0\
**Last updated:** [October 14, 2023, 3:24am UTC](https://discourse.julialang.org/t/matrix-vector-randomvar-in-rxinfer-model/104945 "2023-10-14T03:24:58Z")

</div>

Hello. I’m trying to extend one of the examples in RxInfer but hitting a wall. I’m working starting from the Gaussian Linear Dynamical System example. In particular I’m trying to generalise it so that we don’t assume t…

---

## [Problem fitting a State-space model with matrices in RxInfer.jl](https://discourse.julialang.org/t/problem-fitting-a-state-space-model-with-matrices-in-rxinfer-jl/104400)

<div class="topic-metadata">

**Author:** [@grafaelw](https://discourse.julialang.org/u/grafaelw)\
**Replies:** 0\
**Last updated:** [September 29, 2023, 2:17pm UTC](https://discourse.julialang.org/t/problem-fitting-a-state-space-model-with-matrices-in-rxinfer-jl/104400 "2023-09-29T14:17:49Z")

</div>

Hi everyone, I am trying to recreate a paper from J. Luttinen as follows https://users.ics.aalto.fi/jluttine/ecml2013/ . However, I am having some difficulties to infer A and C matrices due to following reason: It c…

---

## [Problems fitting a simple Multinomial model in RxInfer](https://discourse.julialang.org/t/problems-fitting-a-simple-multinomial-model-in-rxinfer/95442)

<div class="topic-metadata">

**Author:** [@DoktorMike](https://discourse.julialang.org/u/DoktorMike)\
**Replies:** 5\
**Last updated:** [March 26, 2023, 2:33pm UTC](https://discourse.julialang.org/t/problems-fitting-a-simple-multinomial-model-in-rxinfer/95442 "2023-03-26T14:33:10Z")

</div>

Hello everyone, I’m experimenting with the awesome package RxInfer but apparently I’m having some difficulties in understanding some basic principles. I tried to adapt one of the first simple examples of RxInfer to bui…

---

## [Score function error for simple custom Gaussian node in RxInfer](https://discourse.julialang.org/t/score-function-error-for-simple-custom-gaussian-node-in-rxinfer/96368)

<div class="topic-metadata">

**Author:** [@John\_Boik](https://discourse.julialang.org/u/John_Boik)\
**Replies:** 1\
**Last updated:** [March 22, 2023, 12:46pm UTC](https://discourse.julialang.org/t/score-function-error-for-simple-custom-gaussian-node-in-rxinfer/96368 "2023-03-22T12:46:05Z")

</div>

I’m testing a simple Gaussian custom node in RxInfer just to make sure I have the syntax correct, but I’m having trouble with the score function for Bethe free energy. My inference() function runs fine and returns BFE if…

---

## [Use of update!() in RXInfer to handle multiple iterations](https://discourse.julialang.org/t/use-of-update-in-rxinfer-to-handle-multiple-iterations/95709)

<div class="topic-metadata">

**Author:** [@John\_Boik](https://discourse.julialang.org/u/John_Boik)\
**Replies:** 12\
**Last updated:** [March 14, 2023, 4:35pm UTC](https://discourse.julialang.org/t/use-of-update-in-rxinfer-to-handle-multiple-iterations/95709 "2023-03-14T16:35:05Z")

</div>

I am trying to implement the van de Laar chance constraint model in RXInfer, and as a warm-up I have implemented the reference model from the same paper. Code is included at the end of this post that produces an output g…

---

## [\[ANN\]: RxInfer.jl 2.0 Julia package for automated Bayesian inference on a factor graph with reactive message passing](https://discourse.julialang.org/t/ann-rxinfer-jl-2-0-julia-package-for-automated-bayesian-inference-on-a-factor-graph-with-reactive-message-passing/89879)

<div class="topic-metadata">

**Author:** [@bvdmitri](https://discourse.julialang.org/u/bvdmitri)\
**Replies:** 23\
**Last updated:** [January 28, 2023, 4:37pm UTC](https://discourse.julialang.org/t/ann-rxinfer-jl-2-0-julia-package-for-automated-bayesian-inference-on-a-factor-graph-with-reactive-message-passing/89879 "2023-01-28T16:37:44Z")

</div>

We are excited to announce the release of RxInfer 2.0, which is a Julia package for fast and scalable Bayesian inference in probabilistic models. RxInfer unites previously released packages ReactiveMP, GraphPPL, and Ro…
