code: def error(solution, prediction):
      # custom function defining error
      return np.mean(solution != prediction)
  
imports: import numpy
label_desc: Use image node_id 2 for calling a global function with example usage: error(solution, prediction) and returns: np