Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xiongjiamu/e9020da421625b13db53c5df4a2270b5 to your computer and use it in GitHub Desktop.
Save xiongjiamu/e9020da421625b13db53c5df4a2270b5 to your computer and use it in GitHub Desktop.
formula
朴素贝叶斯分类器的联合概率分布
$$
P(X,Y)=P(Y) \cdot P(X \mid Y) = P(X) \cdot P(Y \mid X)
$$
朴素贝叶斯分类器的数学表达式
$$
y = \operatorname*{arg\,max}_{c_k}P(y=c_k) \cdot \Pi_jP(X^{(j)}=x^{(j)} \mid Y =c_k)
$$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment