elicit.networks module

elicit.networks module#

elicit.networks.NF(inference_network: callable, network_specs: dict, base_distribution: callable)[source]#

specification of the normalizing flow used from BayesFlow library

Parameters:
inference_networkcallable

type of inference network as specified by bayesflow.inference_networks.

network_specsdict

specification of normalizing flow architecture. Arguments are inherited from chosen bayesflow.inference_networks.

base_distributioncallable

Base distribution from which should be sampled during learning. Normally the base distribution is a multivariate normal.

input_dimint

number of model parameters.

Returns:
nf_dictdict

dictionary specifying the normalizing flow settings.

class elicit.networks.BaseNormal[source]#

Bases: object

__call__(num_params)[source]#

Call self as a function.