

def plot_weight_distributions(kappa_delta, v_delta, kappa_1, v_1, kappa_0, v_0):
    w = np.linspace(0, 0.75, num=1000)
    plt.figure()
    plt.plot(w, gamma(kappa_delta, scale=(1.0 / v_delta)).pdf(w), '-k')
    plt.plot(w, gamma(kappa_0, scale=(1.0 / v_0)).pdf(w), '-b')
    plt.plot(w, gamma(kappa_1, scale=(1.0 / v_1)).pdf(w), '-r')
    plt.xlabel('w')
    plt.ylabel('p(w)')
    plt.show()

dataset/ETHPy150Open slinderman/pyhawkes/test/plot_weight_distributions.py plot_weight_distributions/original