def classify_predict(fqdn, result, yP=None, *argl, **argd):
    """Analyzes the result of a classification algorithm's prediction. See also
    :func:`predict` for explanation of arguments.

    .. todo: update the metric to be useful.

    """
    #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
def classify_predict ( fqdn , result , yP = None , * argl , ** argd ) : out = { } _percent_match ( result , out , yP , * argl ) if auto_print : msg . okay ( out , - 1 ) return out
Analyzes the result of a classification algorithm's prediction. See also
    :func:`predict` for explanation of arguments.

    .. todo: update the metric to be useful.