Example Gallery
These are some simple examples demonstrating spn
.
Syntax and DSL
Examples that demonstrate the basic syntax for composing Sum-Product Networks.
Tractable Probabilistic Models
These examples demonstrate some of the tractable probabilistic models which can be represented, learned, and queried in SPFlow.
Querying Probabilistic Models
One of the most interesting aspect of SPNs is the tractable inference. These examples demonstrate some of the ways these models may be queried.