code: def accuracy(y, yhat):
      """Returns the accuracy. Higher is better.
  
      :param y: true function values
      :param yhat: predicted function values
  
      """
      return float(
          sum(map(lambda x: x[0] == x[1], zip(y, yhat)))
      ) / len(y)
  
imports: import math
  import operator
label_desc: Use image node_id 10 for calling a global function with example usage: accuracy(y, yhat) and returns: unknown