code: def jaccard(x, y):
      """
      Compute the Jaccard distance between between two dictionaries.
      Suppose :math:`K_x` and :math:`K_y` are the sets of keys from the
      two input dictionaries.
  
      .. math:: D(x, y) = 1 - \\frac{|K_x \\cap K_y|}{|K_x \\cup K_y|}
  
      Parameters
      ----------
      x : dict
          First input dictionary.
  
      y : dict
          Second input dictionary.
  
      Returns
      -------
      out : float
          Jaccard distance between `x` and `y`.
  
      Notes
      -----
      - Jaccard distance treats the keys in the input dictionaries as
        sets, and ignores the values in the input dictionaries.
  
      References
      ----------
      - `Wikipedia - Jaccard distance
        <http://en.wikipedia.org/wiki/Jaccard_index>`_
  
      Examples
      --------
      >>> tc.distances.jaccard({'a': 2, 'c': 4}, {'b': 3, 'c': 12})
      0.6666666666666667
      """
      return _tc.extensions._distances.jaccard(x, y)
  
file_path: turicreate/src/python/turicreate/toolkits/distances/_distances.py
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import turicreate
label_desc: Use image node_id 9 for calling a global function with example usage: jaccard(x, y) and returns: _tc