code: def _compute_fscore(pre, rec):
      return 2.0 * pre * rec / (pre + rec)
  
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 3 for calling a global function with example usage: _compute_fscore(pre, rec) and returns: unknown