Closed pscicluna closed 3 years ago
Simple uniform priors with bounds have been added to the existing models. I think this is good enough to remove it from the v0.1 milestone, but the issue should remain open so we don't forget to add more.
Adding many default priors seems like an unnecessary amount of work. We should instead give a clear demonstration of how users can pass their own function in place of the built in one by writing their own prior as a new_function()
in their script and then setting model.prior = new_function
. Unless anyone objects I will close this.
Implement a range of generic priors for all models (e.g. flat, flat within some bounds, etc). Not all possible optimisers will be able to understand this, so it may additional code in optimiser objects to maintain uniformity.