- 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.
- Learning AngularJS Animations
- Instant uTorrent
- 龍芯應用開發標準教程
- 基于Proteus和Keil的C51程序設計項目教程(第2版):理論、仿真、實踐相融合
- 精選單片機設計與制作30例(第2版)
- Unity 5.x Game Development Blueprints
- 數字邏輯(第3版)
- scikit-learn:Machine Learning Simplified
- 電腦軟硬件維修從入門到精通
- 嵌入式系統中的模擬電路設計
- 面向對象分析與設計(第3版)(修訂版)
- 超大流量分布式系統架構解決方案:人人都是架構師2.0
- Managing Data and Media in Microsoft Silverlight 4:A mashup of chapters from Packt's bestselling Silverlight books
- WebGL Hotshot
- STM32自學筆記