tumourkit.classification.evaluate.join_dictionaries
- tumourkit.classification.evaluate.join_dictionaries(dict1: Dict[str, List[float]], dict2: Dict[str, float]) None
Joins the values from dict2 into dict1, modifying dict1.
For each key in dict2, the corresponding value is added to the list in dict1 with the same key. If dict1 does not have the key, it is created with an empty list.
- Parameters:
dict1 (Dict[str, List[float]]) – The dictionary to be modified.
dict2 (Dict[str, float]) – The dictionary containing the values to be joined into dict1.