I would like to run the same model on many datasets with the meanfield algorithm.
It works great but most of the time is spend compiling the models to c++ code.
I hoped that by setting the
save_dso parameter in
brm() it would detect if the model has already been compiled before and use that to rerun the model on the different data in stan.
But it still seems to compile the model.
Is it possible to save the compiled code and skip model compilation next time you run the exact same model?