xplogger.experiment_manager.viz package¶
Submodules¶
xplogger.experiment_manager.viz.bokeh module¶
Utlities functions to make bokeh plots.
-
xplogger.experiment_manager.viz.bokeh.
plot_experiment_sequence_dict
(exp_seq_dict: ExperimentSequenceDict, metadata_for_plot: dict[str, Any], color_palette: list[Any], p: Optional[figure], colors: Optional[list[str]] = None, color_offset: int = 0, return_all_metrics_with_same_length: bool = True, kwargs_for_aggregate_metrics: Optional[dict[str, Any]] = None) → figure[source]¶ Plot the given experiment sequence dict.
- Parameters
exp_seq_dict (ExperimentSequenceDict) –
metadata_for_plot (dict[str, Any]) –
color_palette (list[Any]) –
p (Optional[figure]) –
colors (Optional[list[str]], optional) – Defaults to None.
color_offset (int, optional) – Defaults to 0.
kwargs_for_aggregate_metrics (Optional[dict[str, Any]], optional) – These arguments are pass to aggregation function of exp_seq_dict. Defaults to None.
- Returns
- Return type
figure
xplogger.experiment_manager.viz.matplotlib module¶
Utlities functions to make bokeh plots.
-
xplogger.experiment_manager.viz.matplotlib.
plot_experiment_sequence_dict
(exp_seq_dict: ExperimentSequenceDict, metadata_for_plot: dict[str, Any], color_palette: list[Any], colors: Optional[list[str]] = None, color_offset: int = 0, return_all_metrics_with_same_length: bool = True, kwargs_for_aggregate_metrics: Optional[dict[str, Any]] = None) → None[source]¶ Plot the given experiment sequence dict as a matplotlib.
- Parameters
exp_seq_dict (ExperimentSequenceDict) –
metadata_for_plot (dict[str, Any]) –
color_palette (list[Any]) –
colors (Optional[list[str]], optional) – Defaults to None.
color_offset (int, optional) – Defaults to 0.
kwargs_for_aggregate_metrics (Optional[dict[str, Any]], optional) – These arguments are pass to aggregation function of exp_seq_dict. Defaults to None.
- Returns
- Return type
figure
xplogger.experiment_manager.viz.utils module¶
Utlities functions to make bokeh plots.
-
xplogger.experiment_manager.viz.utils.
get_data_and_colors
(exp_seq_dict: ExperimentSequenceDict, return_all_metrics_with_same_length: bool, kwargs_for_aggregate_metrics: dict[str, Any], color_palette: list[Any], colors: Optional[list[str]], color_offset: int) → tuple[dict[str, Any], list[str]][source]¶ Extract data and colors for generating the plots.