hookeai.utilities.output_prediction_metrics.plot_prediction_metrics_convergence¶
- plot_prediction_metrics_convergence(processes_results, mean_prediction_metrics, metric_features_labels=None, save_dir=None, is_save_plot_data=False, is_save_fig=False, is_stdout_display=False, is_latex=False)[source]¶
Plot mean prediction metrics convergence analysis.
Only prediction processes named as ‘nX’, where X is a given training dataset size, are processed.
- Parameters:
processes_results (dict) – For each prediction process (key, str), store the corresponding mean prediction metrics data (item, dict).
mean_prediction_metrics (list[str]) – Mean prediction metrics.
metric_features_labels (dict, default=None) – For each prediction metric (key, str), store the corresponding features labels (list, str).
save_dir (str, default=None) – Directory where data set plots are saved.
is_save_fig (bool, default=False) – Save figure.
is_save_plot_data (bool, default=False) – Save plot data. Plot data is stored in a file with a single dictionary where each item corresponds to a relevant variable used to generate the plot. If the figure directory is provided, then plot data is saved in the same directory, otherwise is saved in the current working directory.
is_stdout_display (bool, default=False) – True if displaying figure to standard output device, False otherwise.
is_latex (bool, default=False) – If True, then render all strings in LaTeX. If LaTex is not available, then this option is silently set to False and all input strings are processed to remove $(…)$ enclosure.