def precision(classify=lambda document:False, documents=[], average=None):
    return test(classify, documents, average)[1]
Returns the percentage of correct positive classifications.
dataset/ETHPy150Open clips/pattern/pattern/metrics.py/precision