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

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

by 이창현, 앨릭스 토머스
August 2021
Beginner to intermediate
440 pages
10h 4m
Korean
Hanbit Media, Inc.
Content preview from 스파크를 이용한 자연어 처리 : 대규모 텍스트를 다루는 가장 효율적인 딥러닝을 만나다
284
2
부
빌딩 블록
클러스터 #
1
은 의학 용어와 관련이 있고 클러스터 #
97
은 댄스와 관련된 것처럼 보인다.
이러한 모든 기술은 궁극적으로 어휘가 정의한 공간과 관련된 변환을 찾는 데 의존한다. 이번
에는 텍스트 생성을 모델링하는 기법을 살펴보자.
10.4
잠재 디리클레 할당
잠재 디리클레 할당
latent
Dirichlet
allocation
(
LDA
)
2
의 개념은 문서가 일련의 주제를 기반으로 생성
된다는 것이다. 이 과정에서 각 문서가 주제에 따라 배포되고 각 주제는 단어에 따라 배포된다
고 가정한다. 각 문서 및 단어는 이러한 분포를 샘플링하여 생성된다.
LDA
학습자는 역방향으
로 작업하고 관측된 분포 중 가장 가능성이 높은 분포를 식별하려 한다.
이러한 가정은 이전 기술보다 훨씬 더 복잡하다. 벡터 모델에서 단순히 차원을 줄이는 대신 단
어 생성 프로세스를 모델링하려고 하기 때문이다.
예를 들어보자.
from sklearn.decomposition import LatentDirichletAllocation
model = LatentDirichletAllocation(
n_components=K,
random_state=314,
max_iter=100)
# this can take a few minutes
clustered = model.fit_transform(tfidf) ...
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