lace.plot.diagnostics

lace.plot.diagnostics(engine: Engine, name: str = 'score', log_x: bool = False) Figure

Plot state diagnostics.

Parameters:
  • engine (lace.Engine) – The engine whose diagnostics to plot

  • name (str, optional) – The name of the diagnostic to plot

  • log_x (bool, optional) – If True, plot on a log x-axis

Returns:

The figure handle

Return type:

plotly.graph_objects.Figure

Examples

Plot the score over iterations for satellites data

>>> from lace.examples import Satellites
>>> from lace.plot import diagnostics
>>> diagnostics(Satellites(), log_x=True).show()