Decouple prior-classes from inference problem
Closed this issue · 1 comments
aklawonn commented
Currently, some prior-classes are stored in InferenceProblem._prior_classes (this is a dictionary). Prior objects are then instantiated by name (which are the keys or InferenceProblem._prior_classes). These prior classes should be removed from the InferenceProblem class. Instead, priors should be instatiated outside of InferenceProblem, and then simply added to it.