Callbacks and Loggers

API reference: pe.callback package and pe.logger package.

pe.callback.callback.Callback can be configured to be called after each Private Evolution iteration with the synthetic data as the input. It is useful for computing metrics, saving the synthetic samples, monitoring the progress, etc. Each pe.callback.callback.Callback can return a list of results (float numbers, images, matplotlib plots, etc.) in the form of pe.metric_item.MetricItem (see pe.metric_item). All pe.metric_item.MetricItem from all pe.callback.callback.Callback will be passed through each of the pe.logger.logger.Logger modules, which will then log the results in the desired way.

Available Callbacks

Currently, the following callbacks are implemented:

Available Loggers

Currently, the following loggers are implemented: