code: def pw_compare_class_sets(self, cset1: Set[ClassId], cset2: Set[ClassId]) -> Tuple[ICValue, ICValue, ICValue]:
          
          pairs = self.mica_ic_df.loc[cset1, cset2]
          max0 = pairs.max(axis=0)
          max1 = pairs.max(axis=1)
          idxmax0 = pairs.idxmax(axis=0)
          idxmax1 = pairs.idxmax(axis=1)
          mean0 = max0.mean()
          mean1 = max1.mean()
          return (mean0+mean1)/2, mean0, mean1
docs: Compare two class profiles