다행히 이중 치명적인 결점은 없다. 알고리즘이 이러한 사실에 위반되는 가정을 하더라도 여전
히 효과적일 수 있다. 여기서는 몇 가지 인기 있는 알고리즘에 관해 논의하고 이후 연습 문제에
서 그러한 알고리즘을 시험해본다.
7.4.1
나이브 베이즈
나이브 베이즈
Naïve
Bayes
는 모든 기능이 상호 독립적이라는 순수한
naïve
가정에서 이름을 얻었다.
그런 다음 특성값에 따라 조건화된 클래스의 확률을 추정한다. 우리는 언어학과 상식에 비추
어보았을 때 단어들이 서로 독립적이지 않다는 것을 알고 있다. 그러나 나이브 베이즈는 실제
로 텍스트 분류를 위한 인기 있는 기준이다. 나이브 베이즈가 인기 있는 이유는 생성 확률이
TF
.
IDF
와 비슷하기 때문이다.
(|term
!
,term
"
,...,term
#
)=
()0(term
$
|)
#
$%!
1(
&
)0(term
$
|
&
)
#
$%!
'
&%! ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.
O’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
I wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
I’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
I'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.