Set distribution for function parameters

Cyan
Wed, 23 Jul 2025 03:34:41 +0000
Statistics

Hi, all. I am stucked by the problems of building a @model for a parameters of a function when using Turing. Such as for function f(x; b, c), I want to obtain a model like

@model fuction(x,y)
b ~ truncated(Normal(1., 1), 0, 5)
c ~ truncated(Normal(1., 1), 0, 5)

Is there any reliable method can help me to achieve it?

3 posts - 2 participants