BPt.compare_dict_from_existing#

BPt.compare_dict_from_existing(results)[source]#

Load in a CompareDict from some combination of already evaluated instances of EvalResults.

Parameters
resultsdict, list or str

This parameter can be passed in a number of different ways.

  1. As a dictionary, where key-values correspond to either an instance of EvalResults or the str location of a pickle saved EvalResults.

  2. As a list, of either EvalResults instances, str file locations where they are saved, or a mix.

  3. As a str, corresponding to the location of a directory, where every file in the directory is a pickle saved instance of EvalResults.

Note: The key values in the compare dictionary will be in the case that a dictionary is passed, the same keys as in the passed dictionary. In the case a list is passed, just a simple str index, or lastly in the case that either a directory of saved files or list of all files is passed, the key names will be auto-determined based on the passed file names.