官术网_书友最值得收藏!

Prior probability 

The prior probability is the overall probability of the event in the dataset. In our example, this would be the overall probability that it snows in the dataset. Prior probability is important in cases where the datasets are unbalanced, that is, the number of instances of one class variable in the dataset is significantly higher than the other. This leads to bias in the likelihood variable. Prior probabilities are used to renormalize these probabilities by taking the bias in the dataset into account. For example, in our dataset, the prior probability of a snow event is 30% and the prior probability of it not snowing is 70%. The probability of cloudy conditions when it snows is 66%, while the likelihood of cloudy conditions when it does not snow is 42.8%.

However, by taking the prior probabilities into account, although cloudy conditions are more likely when it snows than when it does not, after multiplying the priors, the posterior probability of snow when it is cloudy is 19% and the probability of not snowing when it is cloudy is 30%. By multiplying the prior probabilities to the likelihood events, we inform our posterior probability that there is a higher probability of it not snowing than snowing.

主站蜘蛛池模板: 马山县| 宁陵县| 栾川县| 邻水| 巴中市| 昌邑市| 志丹县| 铜川市| 娱乐| 盐边县| 巢湖市| 积石山| 久治县| 临澧县| 杭锦后旗| 泽库县| 郸城县| 昭通市| 正阳县| 府谷县| 鄂伦春自治旗| 五大连池市| 柳林县| 炎陵县| 新龙县| 通道| 榆树市| 辉县市| 祁阳县| 普格县| 曲周县| 清徐县| 翁牛特旗| 夏津县| 上林县| 咸丰县| 曲阳县| 沧州市| 沙雅县| 镇巴县| 菏泽市|