Cool! I experimented a little bit with Church a while back, but having something like this in Clojure could be really interesting. I don't have much experience with sampling, but if I understand it correctly, your grass-is-wet demo is defining a belief network where each sample taken represents the complete state of the graph, or just the final outcome? What does a sample look like? It would be great if we could use this kind of generative model to create chord sequences, melodies, and rhythms for Overtone. I don't know what kinds of choice points would be appropriate, or if we could train them based on a database of existing progressions? -Jeff On Nov 18, 12:57 am, Nils Bertschinger <nils.bertschin...@googlemail.com> wrote: > Hi everyone, > > inspired by the bher compiler for the probabilistic scheme dialect MIT > Church, I have implemented a version of the probability monad which > uses Metropolis Hastings to draw samples from runs of monadic > programs. You can find the code on > github:https://github.com/bertschi/ProbClojureNice. > > The monadic version is more a proof of principle and not very fast. It > might nevertheless be useful, e.g. for educational purposes. Have a > look and decide for yourself ... > For the future, I'm working on a different approach to embed > probabilistic operations into clojure which scales better and allows > to run somewhat larger models. > > Any comments and feedback are welcome. Best, > > Nils
-- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en