Looking at Austin Rochford's Dirichlet process mixture model which used the older ElemwiseCategoricalStep
, it looks 20,000 iterations took just over 2 minutes.
Comparing to the same example in the docs which uses the newer CategoricalGibbsMetropolis
, the same number of iterations takes over 14 minutes.
Does anyone know why there is such an increase in run time and if there's a way to make it faster? I've just updated my code (with the new step method) with uses the same model but on much larger data sets, and what used to take a few days to run now looks like it might span weeks :(