code: def OC_calc(TP, TOP, P):
      """
      Calculate Overlap coefficient (OC).
  
      :param TP: true positive
      :type TP: int
      :param TOP: number of positives in predict vector
      :type TOP: int
      :param P: number of actual positives
      :type P: int
      :return: overlap coefficient as float
      """
      try:
          overlap_coef = TP / min(TOP, P)
          return overlap_coef
      except (ZeroDivisionError, TypeError):
          return "None"
  
imports: from __future__ import division
  import math
  from .pycm_util import normal_quantile
  from .pycm_interpret import *
  from .pycm_param import CLASS_PARAMS
label_desc: Use image node_id 5 for calling a global function with example usage: OC_calc(TP, TOP, P) and returns: overlap_coef, str