Sampling from graphical models¶

Directed models¶

  • ancestral sampling, we start at the top of the topological ordering, the sampled values are passed as arguments from parents to children

    • fast

Undirected models¶