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)))
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)))