code: def classify_predict(fqdn, result, yP=None, *argl, **argd):
      
      #For now, just to make sure the machinery works correctly, let's return the
      #percentage correct. This is a terrible metric in practice.
      out = {}
      _percent_match(result, out, yP, *argl)
  
      if auto_print:
          msg.okay(out, -1)
  
      return out
docs: Analyzes the result of a classification algorithm's prediction. See also
      :func:`predict` for explanation of arguments.
  
      .. todo: update the metric to be useful.