Skip to content

Commit 8f99a2c

Browse files
committed
fix typos
1 parent e808939 commit 8f99a2c

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

pymc3/variational/approximations.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class MeanField(Approximation):
2626
Parameters
2727
----------
2828
local_rv : dict[var->tuple]
29-
mapping {model_variable -> local_variable (:math:`\\mu`, math:`\\rho`)}
29+
mapping {model_variable -> local_variable (:math:`\\mu`, :math:`\\rho`)}
3030
Local Vars are used for Autoencoding Variational Bayes
3131
See (AEVB; Kingma and Welling, 2014) for details
3232
@@ -101,7 +101,7 @@ class FullRank(Approximation):
101101
Parameters
102102
----------
103103
local_rv : dict[var->tuple]
104-
mapping {model_variable -> local_variable (:math:`\\mu`, math:`\\rho`)}
104+
mapping {model_variable -> local_variable (:math:`\\mu`, :math:`\\rho`)}
105105
Local Vars are used for Autoencoding Variational Bayes
106106
See (AEVB; Kingma and Welling, 2014) for details
107107
@@ -241,8 +241,8 @@ class Empirical(Approximation):
241241
----------
242242
trace : MultiTrace
243243
local_rv : dict[var->tuple]
244-
Experimental for Empirical Distribution
245-
mapping {model_variable -> local_variable (:math:`\\mu`, math:`\\rho`)}
244+
Experimental for Empirical Approximation
245+
mapping {model_variable -> local_variable (:math:`\\mu`, :math:`\\rho`)}
246246
Local Vars are used for Autoencoding Variational Bayes
247247
See (AEVB; Kingma and Welling, 2014) for details
248248

pymc3/variational/inference.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ class ADVI(Inference):
292292
Parameters
293293
----------
294294
local_rv : dict[var->tuple]
295-
mapping {model_variable -> local_variable (:math:`\\mu`, math:`\\rho`)}
295+
mapping {model_variable -> local_variable (:math:`\\mu`, :math:`\\rho`)}
296296
Local Vars are used for Autoencoding Variational Bayes
297297
See (AEVB; Kingma and Welling, 2014) for details
298298
@@ -356,7 +356,7 @@ class FullRankADVI(Inference):
356356
Parameters
357357
----------
358358
local_rv : dict[var->tuple]
359-
mapping {model_variable -> local_variable (:math:`\\mu`, math:`\\rho`)}
359+
mapping {model_variable -> local_variable (:math:`\\mu`, :math:`\\rho`)}
360360
Local Vars are used for Autoencoding Variational Bayes
361361
See (AEVB; Kingma and Welling, 2014) for details
362362
@@ -523,8 +523,8 @@ def fit(n=10000, local_rv=None, method='advi', model=None, seed=None, **kwargs):
523523
----------
524524
n : int
525525
number of iterations
526-
local_rv : dict
527-
mapping {model_variable -> local_variable}
526+
local_rv : dict[var->tuple]
527+
mapping {model_variable -> local_variable (:math:`\\mu`, :math:`\\rho`)}
528528
Local Vars are used for Autoencoding Variational Bayes
529529
See (AEVB; Kingma and Welling, 2014) for details
530530
method : str or Inference

0 commit comments

Comments
 (0)