Scala 中的概率编程
Probabilistic Programming in Scala
任何人都可以建议使用概率编程库吗?我看过以下内容:
https://github.com/jliszka/probability-monad 这看起来相当新,但仅基于一个巨大的模块,并且有一些我不太满意的风格方面;
https://github.com/sstucki/odds 似乎更多 "pure" 和 "functional" 但已经有两年左右没有工作了(我也很好奇他们在哪里从中得到兰特的定义);
还有什么我应该看的吗?我特别感兴趣的是能够确定两个分布可以被认为重叠的概率(为了创建模糊数量的代数)。
你应该看看 Figaro. This was developed by Avi Pfeffer who, I believe, was the first to point out that a probability distribution (or a sampler for a probability distribution) can be viewed as monad with flatMap/bind corresponding to marginalization. He's also working on a book on the topic of probabilistic programming 由 Manning 出版。
I'm particularly interested in being able to determine the probability that two distributions can be considered to overlap (for the purpose of creating an algebra for fuzzy quantities).
我不太清楚你的意思。如果你能澄清一下,我也许可以提供更多的建议。
任何人都可以建议使用概率编程库吗?我看过以下内容:
https://github.com/jliszka/probability-monad 这看起来相当新,但仅基于一个巨大的模块,并且有一些我不太满意的风格方面;
https://github.com/sstucki/odds 似乎更多 "pure" 和 "functional" 但已经有两年左右没有工作了(我也很好奇他们在哪里从中得到兰特的定义);
还有什么我应该看的吗?我特别感兴趣的是能够确定两个分布可以被认为重叠的概率(为了创建模糊数量的代数)。
你应该看看 Figaro. This was developed by Avi Pfeffer who, I believe, was the first to point out that a probability distribution (or a sampler for a probability distribution) can be viewed as monad with flatMap/bind corresponding to marginalization. He's also working on a book on the topic of probabilistic programming 由 Manning 出版。
I'm particularly interested in being able to determine the probability that two distributions can be considered to overlap (for the purpose of creating an algebra for fuzzy quantities).
我不太清楚你的意思。如果你能澄清一下,我也许可以提供更多的建议。