Hi, all. I met a problem getting the prior distribution for parameters in a function f(x; b, s, q). I wish to obtain a dict ParaDict = Dict(:b => b, :s => s, :q => q) in form of
I feel like there’s something missing context in your question. In general, a function f may have nothing to do with priors at all or express it in some arbitrarily convoluted way that cannot be easily extracted.
I’m assuming the context for this is that the function is one defined through the use of the @model macro from Turing.jl? If not, you will need to give more information, ideally with a full example of the function you would like to extract that information from.