code: def calAcc(f1, f2):
      acc = 0
      for index in range(1, len(f1)):
          if f1[index][0] == f2[index][0]:
              acc = acc + 1.0
      return acc * 1.0 / (len(f1) - 1.0)
  
imports: import h2o
  from tests import pyunit_utils
  from h2o.estimators.glm import H2OGeneralizedLinearEstimator
label_desc: Use image node_id 2 for calling a global function with example usage: calAcc(f1, f2) and returns: unknown