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 10 years ago

ngoodman commented 10 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.