Skip to Content
밑바닥부터 시작하는 데이터 과학 데이터 분석을 위한 파이썬 프로그래밍과 수학·통계 기초
book

밑바닥부터 시작하는 데이터 과학 데이터 분석을 위한 파이썬 프로그래밍과 수학·통계 기초

by Joel Grus, Hangyeol Kim, Seongju Ha, Eunjung Park
May 2022
Beginner to intermediate
448 pages
13h 7m
Korean
Insight
Content preview from 밑바닥부터 시작하는 데이터 과학 데이터 분석을 위한 파이썬 프로그래밍과 수학·통계 기초
from Scratch
313
󽴜󽴔󻪻󺟃󽴞󽴔󺌐󻝳󽴔󻖧󼧛󺺐
def generate
_
sentence(grammar: Grammar) -> List[str]:
return expand(grammar, ["
_
S"])
회사에 필요한 웹페이지를 많이 만들 수 있도록 단어나 규칙, 또는 품사를 더 추
가해서 문법 규칙을 바꿔 보자.
사실 문법 규칙은 역으로 이용하는 게 더 흥미롭다. 즉, 주어진 문장을 문법 기
준으로
파싱(
parsing
)해서 명사와 동사 등을 인식한다면 문장을 더 잘 이해할 수
있다.
데이터 과학으로 문서를 생성하는 것도 꽤 멋지지만, 문서를 이해할 수 있는
것은 더욱 근사한 일이다. (
21
.
9
절 ‘더 공부해 보고 싶다면’에서 이를 위한 라이
브러리의 목록을 확인할 수 있다.)
21.4
여담: 깁스 샘플링
몇몇 확률분포는 쉽게 표본(
sample
)을 생성할 수 있다. 예를 들어 균등분포의
확률변수(
uniform
random
variable
)는 다음과 같이 얻을 수 있고
random.random()
정규분포의 확률변수(
normal
random
variables
)는 다음과 같이 얻을 수 있다.
inverse
_
normal
_
cdf(random.random())
하지만 다른 일반적인 확률분포로부터 데이터를 샘플링하는 것은 간단하지 않
다. 이런 경우
깁스 샘플링(
Gibbs
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: 9788966262571