code: def cutoff(scores, threshold):
      """cut of the scores based on threshold
  
      Args:
          scores (numpy.ndarray): scores
          threshold (float): between 0 and 1
  
      Returns:
          numpy.ndarray: processed scores
      """
      return np.where(scores > threshold, 1, 0)
  
imports: import itertools
  import numpy
  import torch
label_desc: Use image node_id 3 for calling a global function with example usage: cutoff(scores, threshold) and returns: np