ema workbench

Other Sub Sites

callbacks

Created on 22 Jan 2013

@author: jhkwakkel

class callbacks.AbstractCallback(uncertainties, outcomes, nr_experiments, reporting_interval=100)

Base class from which different call back classes can be derived. Callback is responsible for storing the results of the runs.

get_results()

method for retrieving the results. Called after all experiments have been completed

class callbacks.DefaultCallback(uncs, outcomes, nr_experiments, reporting_interval=100)

default callback system callback can be used in performExperiments as a means for specifying the way in which the results should be handled. If no callback is specified, this default implementation is used. This one can be overwritten or replaced with a callback of your own design. For example if you prefer to store the result in a database or write them to a text file