fragile.callbacks.report#

Module Contents#

Classes#

Report

The Walkers is a data structure that takes care of all the data involved in making a Swarm evolve.

Functions#

statistics_from_array(x)

Return the (mean, std, max, min) of an array.

fragile.callbacks.report.statistics_from_array(x)#

Return the (mean, std, max, min) of an array.

Parameters

x (numpy.ndarray) –

class fragile.callbacks.report.Report(report_interval=None, progress_bar=True, notebook_widget=True, panel_widget=False, **kwargs)#

Bases: fragile.core.api_classes.Callback

The Walkers is a data structure that takes care of all the data involved in making a Swarm evolve.

Parameters
  • report_interval (Optional[int]) –

  • progress_bar (bool) –

  • notebook_widget (bool) –

  • panel_widget (bool) –

name = report#
_log#
property report_interval#
before_reset()#
after_evolve()#
run_end()#
report_progress()#

Report information of the current run.

panel(show_widget=False)#
Parameters

show_widget (bool) –

setup_notebook_container()#

Display the display widgets if the Swarm is running in an IPython kernel.