计算机科学 > 程序设计语言
[提交于 2012年5月14日]
标题:Monolingual Probabilistic Programming Using Generalized Coroutines
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Probabilistic programming languages and modeling toolkits are two modular ways to build and reuse stochastic models and inference procedures. Combining strengths of both, we express models and inference as generalized coroutines in the same general-purpose language. We use existing facilities of the language, such as rich libraries, optimizing compilers, and types, to develop concise, declarative, and realistic models with competitive performance on exact and approximate inference. In particular, a wide range of models can be expressed using memoization. Because deterministic parts of models run at full speed, custom inference procedures are trivial to incorporate, and inference procedures can reason about themselves without interpretive overhead. Within this framework, we introduce a new, general algorithm for importance sampling with look-ahead.
提交历史
来自:Oleg Kiselyov[v1] 2012年5月14日 星期一 00:00:00 UTC