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

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

by 이창현, 앨릭스 토머스
August 2021
Beginner to intermediate
440 pages
10h 4m
Korean
Hanbit Media, Inc.
Content preview from 스파크를 이용한 자연어 처리 : 대규모 텍스트를 다루는 가장 효율적인 딥러닝을 만나다
270
2
부
빌딩 블록
하지만 단순하게 직접 문맥을 사용할 수는 없다. 이들 또한 데이터로 학습해야 한다. 우리가 문
맥을 학습할 때는 보통 서로 어떤 단어들을 사용하는지 살펴본다. 즉, 이러한 알고리즘은 대부
분 데이터에 가장 적합한 모델을 찾을 때까지 반복된다는 의미다. 이러한 접근 방식은 일종의
클러스터링이다. 실제로 우리는 텍스트 데이터에 더 일반적인 클러스터링 알고리즘을 사용할
수 있지만, 잘 작동하지는 않을 것이다.
다음 예제에는 행이 문서이고 열이 단어인 문서-단어 행렬
document
-
term
matrix
이 있다. 값은 단어
의 존재 또는 단어 발생 횟수를 나타내는 이진값
binary
value
이거나
TF
.
IDF
값일 수 있다. 이번
10
장에서는
TF
.
IDF
값을 사용한다. 일단 이러한 행렬이 있으면 더 적은 차원의 공간에 문서를
매핑하고 싶을 것이다. 그러면 문서가 주제로 묶인다.
이 책에서는 파이썬 라이브러리인 사이킷런
scikit
-
learn
을 사용하여 기술을 소개한다. 이 라이브
러리를 사용하면 스파크를 구현하는 것보다 더 쉽게 이러한 모델의 내부 데이터를 검사할 수
있다.
10.1
k
-평균
주제 모델링에 대한 첫 번째 시도로 [그림
10
-
1
]과 같이 고전적 클러스터링 기술인
k
-평
균
k
-
means
을 사용해본다. 벡터 공간에 여러 개의 데이터 ...
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