Skip to content

Commit 984510d

Browse files
author
Alexander Ororbia
committed
minor edit to emm doc
1 parent fd216d8 commit 984510d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

ngclearn/utils/density/exponentialMixture.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,16 @@ def _sample_component(dkey, n_samples, rate): ## samples a component (of mixture
6161

6262
class ExponentialMixture(Mixture): ## Exponential mixture model (mixture-of-exponentials)
6363
"""
64-
Implements a exponential mixture model (EMM) -- or mixture of exponentials (MoExp). Adaptation of parameters is
64+
Implements an exponential mixture model (EMM) -- or mixture of exponentials (MoExp). Adaptation of parameters is
6565
conducted via the Expectation-Maximization (EM) learning algorithm. Note that this exponential mixture assumes that
6666
each component is a factorizable mutlivariate exponential distribution. (A Categorical distribution is assumed over
6767
the latent variables).
6868
69+
The exponential distribution of each component (dimension `d`) is assumed to be:
70+
71+
| pdf(x_d; lmbda_d) = lmbda_d * exp(-lmbda_d x_d) for x >= 0, else 0 for x < 0;
72+
| where lbmda is the rate parameter vector
73+
6974
Args:
7075
K: the number of components/latent variables within this EMM
7176

0 commit comments

Comments
 (0)