def _calculate_precision(s):
    return s["true_positive"] / (s["true_positive"] + s["false_positive"])
dataset/ETHPy150Open BradNeuberg/cloudless/src/cloudless/train/predict.py/_calculate_precision/original