作者:Garfield
您好,刚接触HMM时间不长,在这向您请教一个HMM的问题,我现在用连续HMM,输出概率使用高斯加权输出,sum(w(i)*N(i)),其中求N的时候总是溢出(因为连乘,导致N太小,计算机无法表示而置为0),这个问题在实际中应该经常遇到,该怎么解决呢?非常感谢
View Article作者:itenyh
在不影响计算结果的前提下,考虑一下使用f(x)=ln(x),这是一个增函数,那么argmax p(x1)*p(x2)*p(x3)….. = argmin -lnP(x1) – lnP(x2)-lnP(x3)…..,这样可以避免连乘导致的溢出。我也用到了这个技巧,不知道能不能解决你的问题。
View Article作者:Garfield
您好,刚接触HMM时间不长,在这向您请教一个HMM的问题,我现在用连续HMM,输出概率使用高斯加权输出,sum(w(i)*N(i)),其中求N的时候总是溢出(因为连乘,导致N太小,计算机无法表示而置为0),这个问题在实际中应该经常遇到,该怎么解决呢?非常感谢
View Article作者:itenyh
回复给<a href="https://www.52nlp.cn/itenyh%e7%89%88-%e7%94%a8hmm%e5%81%9a%e4%b8%ad%e6%96%87%e5%88%86%e8%af%8d%e4%b8%80%ef%bc%9a%e5%ba%8f/comment-page-1#comment-5024">Garfield</a>。...
View Article作者:Garfield
回复给<a href="https://www.52nlp.cn/itenyh%e7%89%88-%e7%94%a8hmm%e5%81%9a%e4%b8%ad%e6%96%87%e5%88%86%e8%af%8d%e4%b8%80%ef%bc%9a%e5%ba%8f/comment-page-1#comment-5038">itenyh</a>。...
View Article作者:itenyh
回复给<a href="https://www.52nlp.cn/itenyh%e7%89%88-%e7%94%a8hmm%e5%81%9a%e4%b8%ad%e6%96%87%e5%88%86%e8%af%8d%e4%b8%80%ef%bc%9a%e5%ba%8f/comment-page-1#comment-5041">Garfield</a>。...
View Article