Skip to content

Commit 2136347

Browse files
committed
Fix typo.
1 parent fe566d5 commit 2136347

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

pymc3/variational/advi.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11

22
'''
3-
Created on 2016
4-
5-
@author: johnsalvatier
3+
(c) 2016, John Salvatier & Taku Yoshioka
64
'''
75
import numpy as np
86
from ..blocking import DictToArrayBijection, ArrayOrdering
@@ -32,10 +30,10 @@ def check_discrete_rvs(vars):
3230

3331
def advi(vars=None, start=None, model=None, n=5000, accurate_elbo=False,
3432
learning_rate=.001, epsilon=.1, random_seed=20090425, verbose=1):
35-
"""Performe automatic differentiation variational inference (ADVI).
33+
"""Perform automatic differentiation variational inference (ADVI).
3634
3735
This function implements the meanfield ADVI, where the variational
38-
posterior distribution is assumed to spherical Gaussian without
36+
posterior distribution is assumed to be spherical Gaussian without
3937
correlation of parameters and fit to the true posterior distribution.
4038
The means and standard deviations of the variational posterior are referred
4139
to as variational parameters.

0 commit comments

Comments
 (0)