-
Notifications
You must be signed in to change notification settings - Fork 10.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HMM-FirstOrderHiddenMarkovModelTest文件bug错误 #1530
Comments
【自动回复】您好,感谢反馈。 如果您提的是bug或feature request,请按issue模板认真修改,然后耐心等待下周末处理。 否则,咨询类的问题GitHub概不受理。请先搜索一下,99.9%的问题已经反复回答过了,人类的本质是复读机。如果您确信您提了个新问题,那么欢迎写清楚前因后果发在论坛而不是GitHub上。 如果您不修改的话,恐怕没有人能够回复您,我们也会错失一次改进的机会或者一次友好的讨论。开源项目维护不易,只能在周末受理友好的提问,造成不便还望海涵。 |
Hi, 感谢提出。 我没看出来问题,显状态的下标与图4-11是对应的。 HanLP/src/test/java/com/hankcs/hanlp/model/hmm/FirstOrderHiddenMarkovModelTest.java Lines 19 to 33 in d1fe0bb
HanLP/src/test/java/com/hankcs/hanlp/model/hmm/FirstOrderHiddenMarkovModelTest.java Lines 48 to 51 in d1fe0bb
比如 Healthy -> cold 对应 emission_probability[0][1] = 0.4 ,与上图是一致的。如果调换了 dizzy和cold顺序,反而不一致。单独仓库里的UnitTest 如果还有问题,欢迎重开issue。 |
Describe the bug
A clear and concise description of what the bug is.
在我跟踪使用hmm对玩具医疗模型分析时,得出prob并非0.015,分析问题发现bug如下
Code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate the problem.
Describe the current behavior
A clear and concise description of what happened.
一个小小的BUG
Expected behavior
A clear and concise description of what you expected to happen.
提交
System information
Other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.
testPredict
The text was updated successfully, but these errors were encountered: