How can I set the starting point of ADVI for M1 using the meanfield approximation from M2? I saw that pm.ADVI has two start arguments but couldn’t understand how to populate them.
with M2:
inference = pm.ADVI(random_seed=seed)
approx = pm.fit(n= 10000, random_seed=seed, method=inference, obj_optimizer=adam(learning_rate=0.05,decay_iter=4000))
idata = approx.sample(2000,random_seed=seed)
with M1:
inference = pm.ADVI(random_seed=seed, start=??)
approx = pm.fit(n= 10000, random_seed=seed, method=inference, obj_optimizer=adam(learning_rate=0.05,decay_iter=4000))
idata_servicer = approx.sample(2000,random_seed=seed)
I looked at How to choose initial values for MeanField sigma, and transform rho->sigma?, but the solution there did not work. Any suggestions @ricardoV94 @jessegrabowski?