| Trees | Indices | Help |
|---|
|
|
object --+
|
NNMF --+
|
EM
An EM algorithm for non-negative matrix factorization (NNMF).
This is EXACTLY the same as using the KL divergence from Lee & Seung.
The model is:
X[i,j] ~ Poisson(mu[i,j])
with X[i,j]'s independent with
mu[i,j] = sum(W[i,l] * H[l,j], l=1...k)
where the entries of W and H are non-negative.
The complete data for this EM is
(X,X1,...,Xk)
where
X = X1 + ... + Xk
Xl[i,j] ~ Poisson(W[i,l] * H[l,j])
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
E-step: Conditional on X, the unobserved matrices X=X1+...+Xk have entries that are independent multinomials. Since logL is linear in the Xl[i,j]'s, we just have to compute the conditional expecation of Xl[i,j]|X[i,j], l=1,...,k given our current estimates of the means of the Xl[i,j]'s. This results in l 'pseudo' X matrices. |
|
| Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0beta1 on Tue Jun 3 09:41:23 2008 | http://epydoc.sourceforge.net |