Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 209 Bytes

README.md

File metadata and controls

14 lines (11 loc) · 209 Bytes

pydai

Python wrappers for libdai

In [1]: from pydai import sprinkler

In [2]: sprinkler.test()
4 variables, 4 factors
P(W=1) = 0.6471
P(S=1 | W=1) = 0.429763560501
P(R=1 | W=1) = 0.70792767733