code: def _percent_match(result, out, yP=None, *argl):
      
      if len(argl) > 1:
          if yP is None:
              Xt = argl[1]
              key = id(Xt)
              if key in _splits:
                  yP = _splits[key][3]
                  
          if yP is not None:
              import math
              out["%"] = round(1.-sum(abs(yP - result))/float(len(result)), 3)
docs: Returns the percent match for the specified prediction call; requires
      that the data was split before using an analyzed method.
  
      Args:
          out (dict): output dictionary to save the result to.