Exclude certain free RVs from gradient calculation during ADVI?

Hi. There is no such functionality in PyMC3. You can have a look into ObjectiveFunction class. It has internal stuff to create updates, it is a nice to put structured updates.

1 Like