Bayesian Classifier (Naive Bayesian Classifier - 朴素贝叶斯分类)

Bayes Rule


Maximum a posteriori (MAP) hypothesis


Note P(x) is independent of h, hence can be ignored.


Assuming that each hypothesis in H is equally probable, i.e., P(hi) = P(hj), for all i and j, then we can drop P(h) in MAP. P(d|h) is often called the likelihood of data d given h. Any hypothesis that maximizes P(d|h) is called the maximum likelihood hypothesis
(如果类的先验概率未知那我们就假设对于任意的i,j ; P(hi) = P(hj),此时我们可以不考虑 P(h),则目标函数化简如下:)

The Bayesian approach to classifying a new instance X is to assign it to the most probable target value Y (MAP classifier)
(d为类别标示,x1,...x4为样本的各个维度的值)

(如果属性值之间不是相互独立的,那么我们不仅需要大量计算还需要一个巨大的训练样本集合,朴素贝叶斯假设样本的各个属性之间是相互独立的)
Naive Bayesian Classifier is based on the simplifying assumption that the attribute values are conditionally independent given the target value.

This means, we have



(朴素贝叶斯的目标函数)

e.g









评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值