def cad_prob(cads, time):
    """Given the observed distribution of time lags `cads`, compute the probability
    that the next observation occurs within `time` minutes of an arbitrary epoch.
    """
    return 100.0 / stats.percentileofscore(cads, float(time) / (24.0 * 60.0))
dataset/ETHPy150Open cesium-ml/cesium/cesium/obs_feature_tools.py/cad_prob/swapped operands of `/`