In the theory / likelihood class, we use "params" to refer to a dictionary of parameters like params = {'bias': -0.12, 'beta': 1.5}
In the posterior class, we use "free_params" to refer to a list of FreeParameter objects.
This is potentially confusing, we should agree on what "params" mean in the code.
One option is to be more explicit and use "params_dict" to refer to the dictionary of parameters, but it is a bit painful. Let's think about it.
In the theory / likelihood class, we use "params" to refer to a dictionary of parameters like
params = {'bias': -0.12, 'beta': 1.5}In the posterior class, we use "free_params" to refer to a list of FreeParameter objects.
This is potentially confusing, we should agree on what "params" mean in the code.
One option is to be more explicit and use "params_dict" to refer to the dictionary of parameters, but it is a bit painful. Let's think about it.