logo
首页技术栈工具库讨论
probable

probable

Easy and reasonably efficient probabilistic programming and random generation This library gives a common language to speak about probability distributions and random generation, by wrapping both, when necessary, in a RandT monad defined in Math.Probable.Random. This module also provides a lot of useful little combinators for easily describing how random values for your types should be generated. In Math.Probable.Distribution, you'll find functions for generating random values that follow any distribution supported by mwc-random. In Math.Probable.Distribution.Finite, you'll find an adaptation of Eric Kidd's work on probability monads (from here). You may want to check the examples bundled with this package, viewable online at https://github.com/alpmestan/probable/tree/master/examples. One of these examples is simple enough to be worth reproducing here. Please report any feature request or problem, either by email or through github's issues/feature requests.
由 
bruceshi2021-01-13 收录
--
推荐
不推荐
更多信息
GitHub iconalpmestan/probable8
HACKAGE
carbal install probable
查看
标签
根据用户添加的标签生成
暂无标签