균등 분포를 직관적으로 이해하기 위해 비균등 분포의 예를 살펴보자. 실제 키-체중 데이터셋
에서는 균등 분포를 사용해 키를 모델링할 수 없었다. 그 이유는 당연하게도 사람의 키와 체중
이 균일하게 분포되어 있지 않기 때문이다. 실제로 키가
2
미터인 사람과
160cm
,
180cm
정도
인 사람을 만날 확률은 경험적으로 같지 않다.
균등 분포는 말 그대로 균등하게 분포된 데이터만 모델링한다. 모든 데이터가 최솟값
x
min
과 최
댓값
x
max
사이의 연속적인 구간에서 균등하게 분포되어 있다면 그 구간 안에서 임의의 값을 추
출할 확률은 모두 같다. 예를 들어 구간이 (
0
,
1
)이라면
0
.
2
를 추출할 확률과
0
.
75
를 추출할 확
률은 같다.
따라서 균등 분포의 확률 밀도 함수는 상수다. 구간
(
x
min
,
x
max
)
에 있는 확률 변수
x
에 대해 연
속 균등 분포의 확률 밀도 함수는 다음과 같다.
;,forfxxx
xx
xxx
1
minmax
maxmin
minmax
11=
-
Q
V
,
구간 외의 다른 범위에서는 모두
0
.
구간
(
x
min
,
x
max
)
에서 균등 분포의 확률 밀도 함수를 그려보자. [그림
2
-
8
]에서 볼 수 있듯이
균등 분포의 확률 밀도 함수 그래프는 직선 형태다. 이는 실제 데이터와 시뮬레이션 데이터 모
두 균등하게 분포된 데이터가 ...
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.
O’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
I 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
I’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
I'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.