I’ve used such an approach, but would love it if you’ve reworked this. Any progress?
In my case, I’ve got many (~50) parameters, three of which I estimate (with Turing.jl), and I’d love to be able to use a NamedTuple for the parameters, perhaps one for the fixed and one for the estimated parameters.
Edit: Found Chris’ advice on another topic* to use closures**. I’m not much of a programmer, so didn’t know what this was, but looked it up and its everything I needed. I was searching for a long time on how to handle these ~50 named parameters in a safe way, and think closures are the solution.