贝叶斯网络

参考链接

  • 贝叶斯网络是什么?

      一个模型,该模型描绘各个状态之间是如何通过概率连接起来的。

                              

      上图中,天气状态分为:sunny,cloudy,rainy;  洒水车状态分为:喷洒,不喷洒;草坪状态分为:湿润,干燥

      如果通过联合概率来表示上述三个事件中,一个事件发生的情况下,另一个事件发生的概率,则需要3*2*2=12种可能,显然不划算。因为它把一些不必要的情况也考虑了。所以,需要用条件概率来表示。

    贝叶斯网络的一个重要特点:不可以有圈。下图就不是贝叶斯网络

        

  • 贝叶斯网络为什么有用?
    • 仅仅存储父子相关的概率,节省存储空间和计算时间
    • 仅仅只用很少的数据开始,就可以。后续数据增加的时候,也较为方便
  • 举例说明为何说贝叶斯网络适应性强:
 
数据 图标
  • 30% of the US population smokes.
  • Lung cancer can be found in about 70 people per 100,000.
  • TB occurs in about 10 people per 100,000.
  • Bronchitis can be found in about 800 people per 100,000.
  • Dyspnea can be found in about 10% of people, but most of that is due to asthma and causes other than TB, lung cancer, or bronchitis.
  • 50% of your patients smoke.
  • 1% have TB.
  • 5.5% have lung cancer.
  • 45% have some form of mild or chronic bronchitis.
  • 100% have Dyspnea
100% visit asia
our patient is indeed a smoker
 X-ray turns out normal
 the X-ray were abnormal
原文地址:https://www.cnblogs.com/maggie94/p/11931539.html