How to use pymc3.fit() method

Check the ELBO history:

plt.plot(mean_field.hist)

The convergent checks we currently have are only heuristics - you should train your model much longer and check your result extensively. For example, have a look at this discussion here: Poor Accuracy of ADVI for Linear Regression

1 Like