diff notes/hnmf.m @ 19:f1f8c84339d0

Starting to revisit this EM logic and test in a single-column world
author Chris Cannam
date Wed, 26 Mar 2014 18:49:12 +0000
parents d42c500b8ad0
children
line wrap: on
line diff
--- a/notes/hnmf.m	Wed Mar 26 11:44:51 2014 +0000
+++ b/notes/hnmf.m	Wed Mar 26 18:49:12 2014 +0000
@@ -68,7 +68,7 @@
 for it = 1:iter
     
     % E-step
-    zh = z .* permute(repmat(h,[1 1 R]),[3 1 2]);
+    zh = z .* permute(repmat(h,[1 1 R]),[3 1 2]); %% z is the source activation distribution, h the component (pitch) activation
     xa=eps;
     for r=1:R
         for k=1:K