HMM学习(3)-Patterns generated by a hidden process

2007-12-18 20:31 903人阅读
matrixsystemreturningeachalgorithmsun

3.  Patterns generated by a hidden process

3.2 When a Markov process may not be powerful enough

In some cases the patterns that we wish to find are not described sufficiently by a Markov process. Returning to the weather example, a hermit may perhaps not have access to direct weather observations, but does have a piece of seaweed. Folklore tells us that the state of the seaweed is probabilistically related to the state of the weather - the weather and seaweed states are closely linked. In this case we have two sets of states, the observable states (the state of the seaweed) and the hidden states (the state of the weather). We wish to devise an algorithm for the hermit to forecast weather from the seaweed and the Markov assumption without actually ever seeing the weather.

在一些场合我们所希望找到的模式不能够被马尔科夫过程很好的描述。回到天气的例子,一个隐士可能没有办法直接观察到天气,但是他有一片海藻。传说海藻与天气的状态有一定的联系。在这个例子中,我们有两个状态集合,可观察的状态(海藻的状态)和隐状态(天气的状态)。我们希望为隐士设计一个算法,在不能实际看到天气的情况下,来从海藻和马尔科夫假设中预测出天气的状态。

A more realistic problem is that of recognizing speech; the sound that we hear is the product of the vocal chords, size of throat, position of tongue and several other things. Each of these factors interacts to produce the sound of a word, and the sounds that a speech recognition system detects are the changing sound generated from the internal physical changes in the person speaking.

一个更实际的问题是语音识别;我们所听到的声音是产生自声带,喉咙的大小,舌头的位置和其他一些东西。每一个因素相互作用产生了词语的声音,一个语音识别系统所探测到的声音都是人说话时内部身体变化所产生的变化的声音。

Some speech recognition devices work by considering the internal speech production to be a sequence of hidden states, and the resulting sound to be a sequence of observable states generated by the speech process that at best approximates the true (hidden) states. In both examples it is important to note that the number of states in the hidden process and the number of observable states may be different. In a three state weather system (sunny, cloudy, rainy) it may be possible to observe four grades of seaweed dampness (dry, dryish, damp, soggy); pure speech may be described by (say) 80 phonemes, while a physical speech system may generate a number of distinguishable sounds that is either more or less than 80.

一些语音识别设备认为内部的语音的产物(internal speech production,语言?)是一个隐状态的序列,发出的声音是一个可观察状态的序列,这个序列由很好的近似了真实状态(隐状态)的语音过程所产生。在两个例子中,非常重要的一点是,隐过程中的状态的数量与可观察状态的数量会很不一样。在3状态的天气系统中(天晴,多云,下雨),可能会观察到海藻湿润度的四个等级(干燥,稍干,微湿,潮湿);纯语音可以被80个音素所描述,而一个人体的语音系统可能会产生非常多的不同的声音,比80多或少。

In such cases the observed sequence of states is probabilistically related to the hidden process. We model such processes using a hidden Markov model where there is an underlying hidden Markov process changing over time, and a set of observable states which are related somehow to the hidden states.

在这些情况下,状态的可观察序列在一定的概率下与隐过程相关联。我们使用隐马尔科夫模型来对这样的过程进行建模,这里有一个潜在的隐马尔科夫过程随时间而改变,以及一个在一定程度上与隐状态关联的可观察的状态集合。

3.2 Hidden Markov Models

The diagram below shows the hidden and observable states in the weather example. It is assumed that the hidden states (the true weather) are modeled by a simple first order Markov process, and so they are all connected to each other.

下图展示了在天气的例子中的隐状态以及可观察状态。它假定了隐状态(真实的天气)通过一个简单的一阶马尔科夫过程来进行建模,所以他们两两之间都有连接。

The connections between the hidden states and the observable states represent the probability of generating a particular observed state given that the Markov process is in a particular hidden state. It should thus be clear that all probabilities `entering' an observable state will sum to 1, since in the above case it would be the sum of Pr(Obs|Sun), Pr(Obs|Cloud) and Pr(Obs|Rain).

在隐状态和可观察状态之间的连接表示了在给定马尔科夫过程停留在一个特定的隐状态时产生特定的观察状态的概率。不难看出,所有的进入一个可观察状态的概率之和应该为1,在上面的例子中就应该是Pr(Obs|Sun), Pr(Obs|Cloud) 和 Pr(Obs|Rain)三者的和。??和底下的矩阵有什么区别??

In addition to the probabilities defining the Markov process, we therefore have another matrix, termed the confusion matrix, which contains the probabilities of the observable states given a particular hidden state. For the weather example the confusion matrix might be;

除了定义了马尔科夫过程的概率,我们还有另外一个矩阵,称作混合矩阵(confusion matrix,先验概率?),它包括了给定特定隐状态的情况下可观察状态的概率。天气的混合矩阵可以是:

Notice that the sum of each matrix row is 1.

每行之和为1。

3.3 Summary

We have seen that there are some processes where an observed sequence is probabalistically related to an underlying Markov process. In such cases, the number of observable states may be different to the number of hidden states.

我们已经看到在一些过程中,可观察序列是在一定概率下与隐藏的马尔科夫过程相关联。在这些例子中,可观察状态的数量可以与隐状态不同。

We model such cases using a hidden Markov model (HMM). This is a model containing two sets of states and three sets of probabilities;

我们使用隐马尔科夫模型来对这些例子进行建模。这个模型包含了两个状态集合和三个概率集(哪三个?转移概率,confusion matrix,?初始?)。

  • hidden states : the (TRUE) states of a system that may be described by a Markov process (e.g., the weather).
  • observable states : the states of the process that are `visible' (e.g., seaweed dampness).

confusion matrix??????????

转载于:https://www.cnblogs.com/hyubz/p/3620375.html

HMM学习(3)-Patterns generated by a hidden process相关推荐

  1. 隐马尔科夫模型c#语言算法实现,HMM学习最佳范例四:隐马尔科夫模型

    四.隐马尔科夫模型(Hidden Markov Models) 1.定义(Definition of a hidden Markov model) 一个隐马尔科夫模型是一个三元组(pi, A, B). ...

  2. HMM学习笔记2 隐马尔科夫模型与前向算法

    一 序 本系列文章摘自 52nlp(我爱自然语言处理: http://www.52nlp.cn/),原文链接在 HMM 学习最佳范例,有大佬做了二次整理,参见:https://blog.csdn.ne ...

  3. 隐马尔可夫模型HMM学习备忘

    隐马尔可夫模型HMM学习备忘 目录 隐马尔可夫模型HMM学习备忘 1.马尔可夫模型的理解 2.隐马尔可夫模型 2.1.HHM的组成 2.2.HMM解决的三个基本问题 隐马尔可夫模型示意图如图[1]: ...

  4. HMM学习最佳范例一:介绍

    隐马尔科夫模型(HMM)依然是读者访问"我爱自然语言处理"的一个热门相关关键词,我曾在<HMM学习最佳范例与崔晓源的博客>中介绍过国外的一个不错的HMM学习教程,并且国 ...

  5. 【深度学习】深度神经网络框架的INPUT PROCESS

    [深度学习]深度神经网络框架的INPUT PROCESS 文章目录 1 概述 2 批量生成训练数据2.1 如何实现2.2 实验验证2.3 图片标注并生成训练所需文件 3 数据增强 4 目标检测中的图像 ...

  6. HMM学习最佳范例三:隐藏模式

    1.马尔科夫过程的局限性 在某些情况下,我们希望找到的模式用马尔科夫过程描述还显得不充分.回顾一下天气那个例子,一个隐士也许不能够直接获取到天气的观察情况,但是他有一些水藻.民间传说告诉我们水藻的状态 ...

  7. HMM学习一:前向和后向算法

    一, 马尔科夫相关概念 马尔可夫过程 (Markov Process): 它因俄罗斯数学家安德烈·马尔可夫而得名,代表数学中具有马尔可夫性质的离散随机过程.该过程中,每个状态的转移只依赖于之前的 n ...

  8. 隐马尔可夫模型HMM学习笔记

    参考: https://www.cnblogs.com/pinard/p/6945257.html https://www.cnblogs.com/pinard/p/6991852.html http ...

  9. HMM学习笔记_1(从一个实例中学习DTW算法)

    DTW为(Dynamic Time Warping,动态时间归准)的简称.应用很广,主要是在模板匹配中,比如说用在孤立词语音识别,计算机视觉中的行为识别,信息检索等中.可能大家学过这些类似的课程都看到 ...

最新文章

  1. php用户鉴权,app开发之鉴权 PHP版
  2. OJ题目-使用+-|等符号表示数字,进行运算【C语言】
  3. 简说创业公司的技术选型,从BearyChat的开发说起
  4. java 递归深度优先遍历_Java基础 - 二叉树的遍历之深度优先遍历(递归遍历)
  5. ubuntu 14.04 开机进入字符界面
  6. 数据库备份和恢复秩序的关系(周围环境:Microsoft SQL Server 2008 R2)
  7. android最优化启动画面,Android启动页黑屏及最优解决方案
  8. .net中Windows窗体间的数据交互
  9. iconv-----linux gbk 转 UTF-8
  10. Uptime-Kuma 一个花哨的开源监控工具
  11. 计算机桌面不同步,怎样使电脑桌面文件在不同桌面位置上显示
  12. 佳文分享:我个人比较受用的一些习惯
  13. oracle数据库导出灰色_Oracle数据库导入导出命令总结
  14. IDEA括起选中的选中的内容
  15. 看完CNCERT周报再来看CNVD周报 报告提示Flash及Http2.0漏洞值得关注
  16. 圣诞节用java画一棵圣诞树给你的女友
  17. html中并列式的应用,并列式结构梳理
  18. Linux 用户和用户组详解
  19. SQL中Round函数没有四舍五入原因及处理方法
  20. 3-10 Pandas的数据规整

热门文章

  1. Spring整合junit4实现对方法的测试
  2. Python 序列操作之切片
  3. python(matplotlib9)——animation动画
  4. 我这么讲线索二叉树,我三岁大的表弟笑了笑
  5. 热敏电阻如何查表计算温度_如何为温度传感器选择正确的热敏电阻
  6. Find Integer(费马大定理的使用)
  7. Qt程序怎么在别人的电脑上运行
  8. python事件触发机制_Python3-事件驱动、IO模型和触发方式
  9. 乐鑫代理-启明云端分享ESP32系列教程之二:Linux搭建esp-idf环境
  10. mysql 安装_源码安装mysql