actsnclass.Canvas.load_metrics

Canvas.load_metrics(path_to_files: list, strategies_list: list, metrics_name='snpcc')

Load and identify set of metrics.

Populates attributes: canonical, unc_sampling or rand_sampling, depending on choice of ‘sample’.

Parameters:
  • path_to_files (str) – List of paths to metrics files for different strategies.
  • strategies_list (list) – List of all strategies to be included in the same plot. Current possibibilities are: [‘canonical’, ‘rand_sampling’, ‘unc_sampling’].
  • metrics_name (str (optional)) – Identify the metrics to be read. Only option is ‘snpcc’.