plotting

load_experiment_results

morgana.viz.plotting.load_experiment_results(experiment_name, metric_names='loss', mode='train', experiments_base='experiments')[source]

Loads metrics from an experiment.

Returns

results – Dictionary of results with the following structure,

{
    metric_name: OrderedDict(
        epoch: metric_value
    )
}

Return type

dict[str, collections.OrderedDict[int, float]]

plot_experiment

morgana.viz.plotting.plot_experiment(experiment_name, metric_names='loss', experiments_base='experiments', axs=None, colour=None, add_labels=True, save=False)[source]

plot_experiment_set

morgana.viz.plotting.plot_experiment_set(experiment_names, metric_names='loss', experiments_base='experiments', file_name=None)[source]