code: def pairwise(gt_labels, pred_labels, sparse=True):
      _check(gt_labels, pred_labels)
      return fowlkes_mallows_score(gt_labels, pred_labels, sparse)
  
file_path: dgl/examples/pytorch/hilander/utils/metrics.py
imports: from __future__ import division
  import numpy
  from sklearn.metrics import precision_score, recall_score
  from sklearn.metrics.cluster import contingency_matrix, normalized_mutual_info_score
label_desc: Use image node_id 5 for calling a global function with example usage: pairwise(gt_labels, pred_labels, sparse) and returns: fowlkes_mallows_score