sesac ai 과정/Algorithm

[algorithm] bayes 베이즈 정리

standingR 2023. 10. 20. 18:29

 

다시 한번 정리

 

Bayes) 

Hypothesis, Enidence

Prior, Likehood, Posterior

 

P(H|E) =  P(H) * P(E|H) / P(E)

 

 

Conditional independent 하다고 가정

->

 

=  P(H) * P(E1 n E2|H) / P(E1 n E2)

 

=  P(H) * P(E|H)* P(E2|H)/ P(E1 n E2)

 

 

 

Navie Bayes 알고리즘 

 

 

1) multinonial Navie Bayes

->  descrete

->  feacture의 state가 여러개

 

2) Gianussian Navie Bayes -> Normal distnitbution N( 뮤 , STD)

->  Contionuous