calabru is a python module to calibrate models in python environment.
Install using pip:
pip install calabru
There are three main steps in using calabru:
-
Create a structured py function handler that creates and analyses a model in Python Environments. The function must be able to pass in updating parameters and return desirable responses from the bespoke model.
-
Pass the function handler as an input to calabru's
ModelUpdating
object creation. For example:
update_object = ModelUpdating(function_handle=my_function_handler,
param_list=starting_param_list,
target_list=target_responses_list)
- Run the calibration using a single object function.
update_object.update_model()