flo-schu / pymob

Python model building platform
MIT License
0 stars 0 forks source link

Parse model structure from config file #13

Closed flo-schu closed 7 months ago

flo-schu commented 7 months ago

Parameter specification (priors)

Perhaps it is sufficient to add a category information for the parameters. So that I can be more flexible to assign parameters to a special function

Categories

Parse model structure from model parameters and error parameters

Stategy

prior parser already exists. This can be seen as a starting point. For Binomial error, priors need to contain an additional information, e.g. Binomial(n=nzfe). No default values. All other transformations have to be done in sim.initialize. Think about hierarchical structure

💡 this can also be done with characters

cext = lognorm(sigma=0.1)
cext_diuron = lognorm(sigma=cext)

something along those lines could work.