df24b86d68db0a0f4f6947b806e7a0facc47c2b8,pymc3/variational/advi.py,,advi_minibatch,#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,100
Before Change
print("Iteration {0} [{1}%]: ELBO = {2}".format(i, 100*i//n, e.round(2)))
if verbose:
print("Finished [100%]: ELBO = {}".format(elbos[-1].round(2)))
l = int(uw_i.size / 2)
u = bij.rmap(uw_i[:l])
After Change
if not i:
print("Iteration {0} [{1}%]: ELBO = {2}".format(i, 100*i//n, e.round(2)))
else:
avg_elbo = elbos[i-n//10:i].mean()
print("Iteration {0} [{1}%]: Average ELBO = {2}".format(i, 100*i//n, avg_elbo.round(2)))
if verbose:
avg_elbo = elbos[i-n//10:i].mean()
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances
Project Name: pymc-devs/pymc3
Commit Name: df24b86d68db0a0f4f6947b806e7a0facc47c2b8
Time: 2016-06-05
Author: chris.fonnesbeck@vanderbilt.edu
File Name: pymc3/variational/advi.py
Class Name:
Method Name: advi_minibatch
Project Name: IndicoDataSolutions/finetune
Commit Name: 1f95179b085455c358df78a32a3fac326cfc47c2
Time: 2018-07-27
Author: madison@indico.io
File Name: tests/test_comparison.py
Class Name: TestComparison
Method Name: test_reasonable_predictions
Project Name: pymc-devs/pymc3
Commit Name: df24b86d68db0a0f4f6947b806e7a0facc47c2b8
Time: 2016-06-05
Author: chris.fonnesbeck@vanderbilt.edu
File Name: pymc3/variational/advi.py
Class Name:
Method Name: run_adagrad
Project Name: tensorflow/cleverhans
Commit Name: 35d2fb1b63a5e2b831adc5f0598e17edf811461a
Time: 2017-08-03
Author: nicholas@carlini.com
File Name: tutorials/mnist_tutorial_cw.py
Class Name:
Method Name: mnist_tutorial_cw