docs: def jaccard_sim(features1, features2):
      """Compute similarity between two sets using Jaccard similarity.
  
      Args:
          features1: list of PE Symbols.
          features2: list of PE Symbols. 
  
      Returns:
          Returns an int.
      """
      set1 = set(features1)
      set2 = set(features2)
      try:
          return len(set1.intersection(set2))/float(max(len(set1), len(set2)))
      except ZeroDivisionError:
          return 0