- Hands-On Mathematics for Deep Learning
- Jay Dawani
- 306字
- 2021-06-18 18:55:24
Conditional probability
Conditional probabilities are useful when the occurrence of one event leads to the occurrence of another. If we have two events, A and B, where B has occurred and we want to find the probability of A occurring, we write this as follows:

Here, .
However, if the two events, A and B, are independent, then we have the following:

Additionally, if , then it is said that B attracts A. However, if A attracts BC, then it repels B.
The following are some of the axioms of conditional probability:
.
.
.
is a probability function that works only for subsets of B.
.
- If
, then
.
The following equation is known as Bayes' rule:

This can also be written as follows:

Here, we have the following:
is called the prior.
is the posterior.
is the likelihood.
acts as a normalizing constant.

Often, we end up having to deal with complex events, and to effectively navigate them, we need to decompose them into simpler events.
This leads us to the concept of partitions. A partition is defined as a collection of events that together makes up the sample space, such that, for all cases of Bi, .
In the coin flipping example, the sample space is partitioned into two possible events—heads and tails.
If A is an event and Bi is a partition of Ω, then we have the following:

We can also rewrite Bayes' formula with partitions so that we have the following:

Here, .
- 劍破冰山:Oracle開發藝術
- 智能數據時代:企業大數據戰略與實戰
- 云計算寶典:技術與實踐
- Oracle 11g+ASP.NET數據庫系統開發案例教程
- Deep Learning with R for Beginners
- AndEngine for Android Game Development Cookbook
- Rust High Performance
- 大數據隱私保護技術與治理機制研究
- 標簽類目體系:面向業務的數據資產設計方法論
- 大數據技術體系詳解:原理、架構與實踐
- Artificial Intelligence for Big Data
- MySQL性能調優與架構設計
- C# 7 and .NET Core 2.0 High Performance
- 一本書讀懂區塊鏈(第2版)
- 大數據原理與技術