Segmentation.subset_difference#
- Segmentation.subset_difference(other)[source]#
Return the difference between self and other’s subsets.
- Parameters:
other (Segmentation) – Segmentation to compare to self.
- Returns:
missing_self (dict[str, int]) – Subset values in other but not in self
missing_other (dict[str, int]) – Subset values in self but not in other