- Mastering Machine Learning on AWS
- Dr. Saket S.R. Mengle Maximo Gurmendez
- 179字
- 2021-06-24 14:23:14
Bayes' theorem
In this section, we will first introduce Bayes' theorem and demonstrate how it is applied in ML.
Bayes' theorem calculates the probability of an event given a condition, such that we have prior knowledge about the event, the condition, and the probability of the condition when the event occurs. In our snow prediction example, the event is when snow occurs. A condition would be when the temperature is between 20°F and 32°F. Based on the data, we can calculate the likelihood of temperature being 20°F and 32°F when it snows. Using this data, we can predict the probability of snow given the temperature being between 20°F and 32°F.
Assume that we have a class variable C and a condition variable x. Bayes' theorem is presented in formula 1. We also present a given simple way to remember different components of the algorithm in formula 2.
Formula 1:
Formula 2:
There are four terms that you need to remember from this formula.
- Raspberry Pi 3 Cookbook for Python Programmers
- Windows phone 7.5 application development with F#
- Augmented Reality with Kinect
- Learning AngularJS Animations
- 辦公通信設備維修
- The Applied AI and Natural Language Processing Workshop
- 基于ARM的嵌入式系統和物聯網開發
- Getting Started with Qt 5
- Apple Motion 5 Cookbook
- Mastering Adobe Photoshop Elements
- 微服務分布式架構基礎與實戰:基于Spring Boot + Spring Cloud
- CC2530單片機技術與應用
- 單片機技術及應用
- 無蘋果不生活:OS X Mountain Lion 隨身寶典
- 單片機原理及應用:基于C51+Proteus仿真