by craigching · 10y ago · 0 comments
[1] https://github.com/fastforwardlabs/anomaly_detection/blob/ma...
*edit, formatting to get line-breaks.
The example is originally from the Anglican website (another PPL), but the general idea is transferable; PPLs make composing entire probabilistic models as easy as adding integers. We can perform complex inference on our models, and even compose our inference methods to form more powerful ones.
[1] https://github.com/joashc/csharp-probability-monad#modelling...