dritchie / probabilistic-js

Turning Javascript into a probabilistic programming language
Other
58 stars 6 forks source link

Add DPmem and collapsed conjugate XRPs #7

Open ngoodman opened 11 years ago

ngoodman commented 11 years ago

Want to distinguish the XRP constructor from specific XRP function objects. (Ie switch to a make-xrp style method like in Bher.)

Since probjs doesn't have a problem with state, can then just implement sufficient stats as local variables in the created XRP object. Check that proposal probs are computed correctly though.