code: def interaction_fpr(i_gt: Set[Tuple], i_hat: Set[Tuple], p: int):
      if len(i_gt) == 0:
          return
      n_pairs = 0.5 * p * (p - 1)
      n_non_interacting_pairs = n_pairs - len(i_gt)
      return len(i_hat.difference(i_gt)) / n_non_interacting_pairs
  
file_path: imodels/imodels/util/tree_interaction_utils.py
imports: import itertools
  from typing import Set, Tuple
  import numpy
  import pandas
label_desc: Use image node_id 6 for calling a global function with example usage: interaction_fpr(i_gt, i_hat, p) and returns: unknown