Skip to Content
스파크를 이용한 자연어 처리 : 대규모 텍스트를 다루는 가장 효율적인 딥러닝을 만나다
book

스파크를 이용한 자연어 처리 : 대규모 텍스트를 다루는 가장 효율적인 딥러닝을 만나다

by 이창현, 앨릭스 토머스
August 2021
Beginner to intermediate
440 pages
10h 4m
Korean
Hanbit Media, Inc.
Content preview from 스파크를 이용한 자연어 처리 : 대규모 텍스트를 다루는 가장 효율적인 딥러닝을 만나다
207
7
장
분류와 회귀
7.4
모델링
텍스트를 특성 벡터
feature
vector
로 변환하면 몇 가지 예외를 제외하고는 일반적인 머신러닝 문제
처럼 보이기 시작한다. 다음은 명심해야 할 가장 중요한 사항이다.
●
많은 희소 특성이 있다.
●
이러한 특성들은 서로 독립적이지 않다.
●
우리는 어순을 잃음으로써 언어의 상당 부분을 잃는다.
다행히 이중 치명적인 결점은 없다. 알고리즘이 이러한 사실에 위반되는 가정을 하더라도 여전
히 효과적일 수 있다. 여기서는 몇 가지 인기 있는 알고리즘에 관해 논의하고 이후 연습 문제에
서 그러한 알고리즘을 시험해본다.
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.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’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
QuotationMarkI 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
QuotationMarkI’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
QuotationMarkI'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.
Mark W.
Embedded Software Engineer

You might also like

클라우드 네이티브: 클라우드 네이티브 애플리케이션을 설계, 개발, 운영하는 핵심 가이드

클라우드 네이티브: 클라우드 네이티브 애플리케이션을 설계, 개발, 운영하는 핵심 가이드

정원천, 보리스 숄, 트렌트 스완슨, 피터 야우쇼베츠

Publisher Resources

ISBN: 9791162244654