SPFlowΒΆ

SPFlow is a Python library for building and learning Probabilistic Circuits (PCs) with PyTorch.

Probabilistic Circuits are a flexible and expressive family of probabilistic graphical models that support both exact and approximate inference in linear time for a wide range of queries.

Quick NavigationΒΆ

  • Getting Started β€” Installation and quick start guide

  • Concepts β€” Core SPFlow concepts and semantics

  • Guides β€” End-to-end tutorials and workflow guides

  • API Reference β€” Complete API documentation

  • Paper Zoo β€” Research implementations and papers (PIC, SOCS, RAT-SPN, etc.)

  • FAQ β€” Frequently asked questions

Indices and tablesΒΆ