Skip to Content
AI를 위한 필수 수학
book

AI를 위한 필수 수학

by 할라 넬슨, 안민재
August 2024
Beginner to intermediate
640 pages
14h 53m
Korean
Hanbit Media, Inc.
Content preview from AI를 위한 필수 수학
271
Chapter 7 -
자연어 처리와 금융 인공지능: 벡터화와 시계열 분석
상관없다 ). 이렇게 보면 이젠 더 이상 지나치게 크지 않고 말뭉치에서 단어의 발생 빈도와 더
일치하는 것처럼 표현된다.
단어 수를 다룰 때 로그 함수를 사용해야 하는 것은 지프의 법칙
Zipf
’
s
law
에 의해 더욱 강조된다.
지프의 법칙에 따르면 자연어 말뭉치의 단어 수는 자연적으로 거듭제곱 법칙을 따르기 때문에
로그 함수를 사용하여 단어 빈도수의 차이를 선형 스케일로 변환하는 것이 가장 좋다. 이어서
이 법칙을 좀 더 자세히 살펴보자.
7.4
단어 수에 관한 지프의 법칙
지프의 법칙은 자연어의 단어 수와 관련 있다. 매우 흥미롭고 놀랍기 때문에 필자의 책에서도
적용되는지 확인하고 싶을 정도다. 필자는 이 책의 한 단어 한 단어를 쓰면서 각 단어의 개수가
실제로 어떠한 법칙을 따르고 있다고 상상하기 어렵다. 우리의 아이디어와 생각을 표현하는 방
식이 정말로 예측 가능한 것일까? 지프의 법칙은 문서와 말뭉치의 단어뿐만 아니라 우리 주변
의 많은 것을 세는 데까지 확장된다.
지프의 법칙은 다음과 같다. 자연어 말뭉치에서 단어의 빈도에 따라 정렬될 경우 첫 번째 단어
의 빈도는 두 번째 단어의 빈도보다 두 배, 세 번째 항목의 빈도보다 세 배이다. 즉, 말뭉치에서
단어가 나타나는 빈도는 그 순위와 연관이 있다.
f 23
312
g===ff
지프의 법칙이 적용되는지 확인하려면 단어의 빈도와 순위를 각각 그래프로 표시하고 지수 법
칙을 확인하면 된다.
f f r fr
r
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: 9791169212588