def f_earthquake(earthquake):
    if earthquake is True:
        return 0.02
    return 0.98
dataset/ETHPy150Open eBay/bayesian-belief-networks/bayesian/examples/factor_graphs/earthquake.py/f_earthquake/original