Machine Learning
lecture 6(Supervised Learning)
Nave Bayes
- model Event
- neural network
- Support Vector Machines
nave bayes 是生成学习算法,所以在计算p(x|y)时先计算p(y|x)
p(x|y) =
∏ni
P(
xi
y)
去求解
arg
maxy
P(y|x) =
P(x|y)∗P(y)P(x)
也就是求解
arg
maxyP(x|y)P(y)
贝叶斯算法先将连续值转化为离散值