probcomp / metaprob

An embedded language for probabilistic programming and meta-programming.
GNU General Public License v3.0
168 stars 17 forks source link

CRP / Dirichlet process mixture model #90

Open jar398 opened 5 years ago

jar398 commented 5 years ago

This is one of the last remaining examples that Metaprob needs to support in order to get up to Church or Venture level competence. We've been talking about it since the spring but there hasn't been an issue for it, so I'm adding it now. This task has been blocked for want of a mem implementation. Now that we have that, we can forge ahead.

Alexey's code, converted to clojure syntax, is here: https://github.com/probcomp/metaprob/blob/master/converted/examples/dpmem/example.clj

zane commented 5 years ago

Per @jar398, legacy code relating to this issue might be available in the python and converted directories at the legacy tag.