mlos_viz.dabl

Small wrapper functions for plotting mlos_bench data via dabl.plot().

Notes

See dabl for more information on the dabl library.

Functions

ignore_plotter_warnings(→ None)

Add some filters to ignore warnings from the plotter.

plot(→ None)

Plots the Experiment results

Module Contents

mlos_viz.dabl.ignore_plotter_warnings() None[source]

Add some filters to ignore warnings from the plotter.

Return type:

None

mlos_viz.dabl.plot(exp_data: mlos_bench.storage.base_experiment_data.ExperimentData | None = None, *, results_df: pandas.DataFrame | None = None, objectives: Dict[str, Literal['min', 'max']] | None = None) None[source]

Plots the Experiment results data using dabl.plot().

Parameters:
  • exp_data (ExperimentData) – The ExperimentData (e.g., obtained from the storage layer) to plot.

  • results_df (Optional[pandas.DataFrame]) – Optional results_df to plot. If not provided, defaults to exp_data.results_df property.

  • objectives (Optional[Dict[str, Literal["min", "max"]]]) – Optional objectives to plot. If not provided, defaults to exp_data.objectives property.

Return type:

None