Hacker News new | ask | show | jobs
by akaryocyte 2107 days ago
Stan, a probabilistic programming language where this thing comes up a lot, makes it easy to declare such constrained parameters:

  real<lower = 0, upper = 1> accuracy;