- 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, .
- 數(shù)據(jù)存儲架構(gòu)與技術(shù)
- 使用GitOps實(shí)現(xiàn)Kubernetes的持續(xù)部署:模式、流程及工具
- Hadoop與大數(shù)據(jù)挖掘(第2版)
- 數(shù)據(jù)化網(wǎng)站運(yùn)營深度剖析
- 大數(shù)據(jù)Hadoop 3.X分布式處理實(shí)戰(zhàn)
- Learning Proxmox VE
- 數(shù)據(jù)庫技術(shù)及應(yīng)用教程
- Spark大數(shù)據(jù)編程實(shí)用教程
- MATLAB Graphics and Data Visualization Cookbook
- Instant Autodesk AutoCAD 2014 Customization with .NET
- 數(shù)字IC設(shè)計(jì)入門(微課視頻版)
- Internet of Things with Python
- 從Lucene到Elasticsearch:全文檢索實(shí)戰(zhàn)
- 數(shù)據(jù)分析方法及應(yīng)用:基于SPSS和EXCEL環(huán)境
- GameMaker Game Programming with GML