This repository contains a collection of examples for RxInfer.jl, a Julia package for reactive message passing and probabilistic programming.
Navigate to the Examples page to check the pre-rendered examples or clone the repository and run the examples locally. Additionally, explore the official RxInfer.jl documentation.
-
Clone the repository:
git clone https://github.com/ReactiveBayes/RxInferExamples.jl.git
-
Install required global dependencies:
julia -e 'using Pkg; Pkg.add("Weave")'Note Building examples requires the Weave.jl package to be installed globally.
-
Build the examples:
make examples
-
Build and preview the documentation:
make docs make preview
Note
If you make changes to an example and still see old errors after rebuilding, try clearing the cache first with the make clean command.
All the examples are Jupyter notebooks, which also can be run with Jupyter.
Most of the examples are available on the official website. Some examples, however, cannot be converted to a static HTML file and thus are placed under interactive/ folder. Those examples can only be executed inside Jupyter notebook environment (or a plugin like in VSCode) as they may require some features that are not available in pure HTML.
We welcome contributions! Please check our contribution guide for guidelines.
RxInfer can be used from Python through client-server infrastructure developed by Lazy Dynamics.
- RxInferServer.jl - A RESTful API service for deploying RxInfer models
- RxInferClient.py - Python SDK for interacting with RxInferServer
Note that the license for the RxInferServer is different from Rxinfer and is hosted under a different organization.
The server provides OpenAPI-compliant endpoints for model deployment and inference, while the Python client offers a convenient interface to:
- Create and manage model instances
- Execute inference tasks
- Monitor inference progress
- Handle authentication and API keys
- Process results in a native format
For more information, visit:
This repository is licensed under the MIT License. See LICENSE for details.