code: def AM_calc(TOP, P):
      """
      Calculate Automatic/Manual (AM).
  
      :param TOP: number of positives in predict vector
      :type TOP: int
      :param P: number of actual positives
      :type P: int
      :return: AM as int
      """
      try:
          return TOP - P
      except 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 32 for calling a global function with example usage: AM_calc(TOP, P) and returns: unknown, str