nnmnkwii icon indicating copy to clipboard operation
nnmnkwii copied to clipboard

nnmnkwii/nnmnkwii/paramgen/_mlpg.py

Open XiaoshanHsj opened this issue 3 years ago • 2 comments

line 121 b = P\mu

I think it should be "b = \sum_{l} W_{l}^{T}P_{l}\mu“

bs = precisions * means => P_{l}\mu bm.dot_mv_plus_equals(win_mat.T, b_frames[:, win_index], target=b) => W_{l}^{T}

XiaoshanHsj avatar May 26 '21 06:05 XiaoshanHsj

Hi, sorry for the super delay. If possible, could you describe in more details why the changes are needed?

r9y9 avatar Aug 11 '21 02:08 r9y9

firstly, bs = precisions * means, so bs = U^{-1} · M^{T}, where U -> variance matrix, M -> mean matrix (\mu); then "b, P = build_poe(bs, precisions, win_mats)" in function of build_poe(), we can see that "bm.dot_mv_plus_equals(win_mat.T, b_frames[:, win_index], target=b)" so b = W^{T} · bs = W^{T} · U^{-1} · M^{T} = W^{T} · P · M^{T}

XiaoshanHsj avatar Sep 04 '21 12:09 XiaoshanHsj