mlos_viz
mlos_viz is a framework to help visualizing, explain, and gain insights from results
from the mlos_bench framework for benchmarking and optimization automation.
It can be installed from pypi via pip
install mlos-viz.
Overview
Its main entrypoint is the plot() function, which can be used to
automatically visualize ExperimentData from mlos_bench using
other libraries for automatic data correlation and visualization like
dabl.
Submodules
Attributes
Classes
| What method to use for visualizing the Experiment results. | 
Functions
| 
 | Suppress some annoying warnings from third-party data visualization packages by | 
| 
 | Plots the results of the given  | 
Package Contents
- class mlos_viz.MlosVizMethod(*args, **kwds)[source]
- Bases: - enum.Enum- What method to use for visualizing the Experiment results. - AUTO[source]
- The default automatic - ExperimentDatavisualization method.
 - DABL = 'dabl'[source]
- Use DABL for automatic data correlation and visualization of - ExperimentData.
 
- mlos_viz.ignore_plotter_warnings(plotter_method: MlosVizMethod = MlosVizMethod.AUTO) None[source]
- Suppress some annoying warnings from third-party data visualization packages by adding them to the warnings filter. - Parameters:
- plotter_method (MlosVizMethod) – The method to use for visualizing the Experiment results. 
- Return type:
- None 
 
- mlos_viz.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, plotter_method: MlosVizMethod = MlosVizMethod.AUTO, filter_warnings: bool = True, **kwargs: Any) None[source]
- Plots the results of the given - ExperimentData.- Intended to be used from a Jupyter notebook. - Parameters:
- exp_data (ExperimentData) – The Experiment data to plot. 
- results_df (pandas.DataFrame | None) – Optional results_df to plot. If not provided, defaults to - ExperimentData.results_dfproperty.
- objectives (Optional[dict[str, Literal["min", "max"]]]) – Optional objectives to plot. If not provided, defaults to - ExperimentData.objectivesproperty.
- plotter_method (MlosVizMethod) – The method to use for visualizing the Experiment results. 
- filter_warnings (bool) – Whether or not to filter some warnings from the plotter. 
- kwargs (dict) – Remaining keyword arguments are passed along to the underlying plotter(s). 
 
- Return type:
- None