SMC example with arbitrary function as model likelihood

Hi @davidbrochart you have to replace the last line with

return np.array(np.log(w1 * np.exp(log_like1) + w2 * np.exp(log_like2)))

1 Like