adaptive.notebook_integration module#
- adaptive.notebook_integration.live_info(runner, *, update_interval=0.5)[source]#
Display live information about the runner.
Returns an interactive ipywidget that can be visualized in a Jupyter notebook.
- adaptive.notebook_integration.live_plot(runner, *, plotter=None, update_interval=2, name=None, normalize=True)[source]#
Live plotting of the learnerβs data.
- Parameters:
runner (
Runner
) βplotter (function) β A function that takes the learner as a argument and returns a holoviews object. By default
learner.plot()
will be called.update_interval (int) β Number of second between the updates of the plot.
name (hasable) β Name for the
live_plot
task inadaptive.active_plotting_tasks
. By default the name is None and if another task with the same name already exists that otherlive_plot
is canceled.normalize (bool) β Normalize (scale to fit) the frame upon each update.
- Returns:
dm β The plot that automatically updates every update_interval.
- Return type: