- Mastering Machine Learning on AWS
- Dr. Saket S.R. Mengle Maximo Gurmendez
- 208字
- 2021-06-24 14:23:14
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.
- Windows phone 7.5 application development with F#
- 硬件產(chǎn)品經(jīng)理手冊:手把手構(gòu)建智能硬件產(chǎn)品
- 分布式系統(tǒng)與一致性
- 筆記本電腦使用、維護(hù)與故障排除從入門到精通(第5版)
- 基于Proteus仿真的51單片機(jī)應(yīng)用
- Hands-On Deep Learning for Images with TensorFlow
- Python Machine Learning Blueprints
- 微控制器的應(yīng)用
- Blender 3D By Example
- 筆記本電腦維修技能實訓(xùn)
- 多媒體應(yīng)用技術(shù)(第2版)
- Arduino案例實戰(zhàn)(卷Ⅳ)
- 計算機(jī)組裝與維護(hù)
- 計算機(jī)組裝與維護(hù)教程
- Unreal Development Kit Game Programming with UnrealScript:Beginner's Guide