摘要: 根据贝叶斯定理,当观测到值 \(x\),其属于分类 \(w_i\) 的概率为: \(P(w_i|x) = \frac{P(x|w_i)P(w_i)}{P(x)}\) 显然,当 \(x\) 为离散型变量时,\(P(x)\) 和 \(P(x|w_i)\) 均可直接计算频率得出。 当 \(x\) 为连续型 阅读全文
posted @ 2022-04-16 21:55 esctrionsit 阅读(649) 评论(0) 推荐(0) 编辑