code: def sparse_dice(ind1, data1, ind2, data2):
      num_true_true = arr_intersect(ind1, ind2).shape[0]
      num_non_zero = arr_union(ind1, ind2).shape[0]
      num_not_equal = num_non_zero - num_true_true
  
      if num_not_equal == 0.0:
          return 0.0
      else:
          return num_not_equal / (2.0 * num_true_true + num_not_equal)
  
imports: from __future__ import print_function
  import locale
  import numba
  import numpy
  from umap.utils import norm
label_desc: Use image node_id 18 for calling a global function with example usage: sparse_dice(ind1, data1, ind2, data2) and returns: int, unknown