Grilled Cheese

ExploreLog inSign up

Explore

PostsPeople
LatestRanked
A@andrzej.dukla.ch.ap.brid.gySep 11, 2026, 10:36 AM

The probabilistic programming library #Probula in #Scala, got a new minor release today (v.0.2.3).

The release includes a bunch of small improvements that slowly make probula usable: support for vectorized variables/plates, for-comprehensions, truncated […]

[Original post on social.dukla.ch]

```scala
val model =
  for a <- Gaussian("a")(0.0, 10.0)                     // prior
      b <- Gaussian("b")(0.0,  3.0)                     // prior
      σ <- UniformC("σ")(0.0,  3.0)                     // prior
      _ <- xs.plateD { x => Gaussian(a*x + b, σ) }      // likelihood
             .observing(ys)                             // ... and data
  yield (a, b, σ)
```
Terms of UsePrivacy PolicyCommunity StandardsHelpGet the app

Grilled Cheese is a product of Village Compute

Version devBuilt at: 2026-10-11 19:07:23 EDT