elicit.targets module#

elicit.targets.use_custom_functions(custom_function, model_simulations)[source]#

Helper function that prepares custom functions if specified by checking all inputs and extracting the argument from different sources.

Parameters:
custom_functioncallable

custom function as specified by the user.

model_simulationsdict

simulations from the generative model.

global_dictdict

dictionary including all user-input settings.

Returns:
custom_quantitytf.Tensor

returns the evaluated custom function.

elicit.targets.computation_elicited_statistics(target_quantities: dict, targets)[source]#

Computes the elicited statistics from the target quantities by applying a prespecified elicitation technique.

Parameters:
target_quantitiesdict

simulated target quantities.

global_dictdict

dictionary including all user-input settings.

Returns:
elicits_resdict

simulated elicited statistics.

elicit.targets.computation_target_quantities(model_simulations, targets)[source]#

Computes target quantities from model simulations.

Parameters:
model_simulationsdict

simulations from generative model.

global_dictdict

dictionary including all user-input settings..

Returns:
targets_resdict

computed target quantities.