Skip to content

[Feature]: Tutorial #594

@mhidalgoaraya

Description

@mhidalgoaraya

Feature Summary

Provides a user-facing tutorial demonstrating how to model and perform inference with the Gate node in RxInfer.

Feature Description

Write a tutorial that teaches users what the Gate node represents, how it differs from a naive mean-field mixture, and how to build practical models with it. The tutorial should include runnable code and explain the key conceptual moving parts: selector variable, keyed alternatives, and how messages flow.

Feature Goals

  • Make the Gate node understandable without requiring the reader to parse the 2008 paper.
  • Provide copy-pasteable examples that are small but real.
  • Document best practices and common failure modes if any

Tasks

  • Write a conceptual overview:
    • What a “gate” is as a modeling construct for mixtures.
    • What a “gate block” is (one selector, multiple keyed alternatives).
  • Provide at least two worked examples:
    • Gaussian mixture with unknown means and a categorical selector.
    • Switching LDS or regime-switching state-space model demo.
  • Include visuals:
    • Factor-graph sketches of the gate structure (even simple diagrams help).
    • Plots of inferred regime probabilities over time for the switching example.

Dependencies

No response

Estimated Timeline

No response

Related Issues / PRs

No response

Additional Context

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions