Add. Summarization

pull/2/head
benjas 4 years ago
parent 87b60e7c26
commit 4215f90fd5

@ -91,3 +91,33 @@ Mathematical understanding
![1618497157923](assets/1618497157923.png)
### 举个例子
Example
试由下表的训练数据学习一个朴素贝叶斯分类器并确定x=(2,S)T的类标签记y。表中X(1)X(2)为特征取值的集合分别为A1={1,2,3}A2={S,M,L}Y为类标记Y∈C = {1,-1}。
![1618499911394](assets/1618499911394.png)
对于给定的![1618499933265](assets/1618499933265.png)计算:
![1618499978692](assets/1618499978692.png)
![1618499987375](assets/1618499987375.png)
![1618499996865](assets/1618499996865.png)
### 总结
Summarization
1. 条件概率公式:![1618500113195](assets/1618500113195.png)表示在已发生事件B的情况下事件A发生的概率。
2. 使用条件概率公式逐步导出最后参数估计的步骤需牢记。
3. 后续会遇到很多类似的推导过程,一般都是先各种替换变复杂最后简化。
公式存在一点点问题如公式的分母可能为0。

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Loading…
Cancel
Save