"In general, BayesFlow expects three different kinds of inputs. The `summary_variables` are variables that will be summarized by a summary network. The `inference_variables` are variables we want to learn the approximate distributions for. In the posterior approximation setting, we would provide the parameter values drawn from the prior distribution, as we want to approximate a conditional distribution $p(\\theta|x)$ of the parameters $\\theta$. The `inference_conditions` are variables which are directly passed as conditions, without going through a summary network. Examples for this are hand-crafted summary statistics, as well as context variables like the number of observations. Previously these things were inferred from the type of network used, but now they need to be defined explictly using the `adapter`. The new approach is much more explicit and extensible. It also makes it easier to change individual settings, while keeping other settings at their defaults.\n",
0 commit comments