마지막으로 혼합의 알려지지 않은 파라미터(공분산 행렬의 평균 및 원소)를 추정하기 위해 데
이터의 가능도를 최대화해야 한다.
데이터에 잠재 변수나 숨겨진 변수(직접 측정하거나 관찰할 수 없는 변수)가 있는 경우에는 최
대 가능도
maximum
likelihood
를 구하기 어려워진다. 이 문제를 해결하기 위한 방법은 최대 가능도를
추정하기 위해 기대값 최대화
expectation
maximization
(
EM
) 알고리즘
206
을 사용하는 것이다. 기대값
최대화 알고리즘은 다음과 같이 작동한다.
1
미지의 파라미터에 대한 현재 추정치를 사용하여 로그 가능도의 기대값에 대한 함수를 생성함으로써 잠재
변수의 값을 추정한다.
2
최적화:
1
단계에서 계산된 기대 로그 가능도를 최대화하는 새로운 파라미터를 계산한다.
3
수렴할 때까지
1
단계와
2
단계를 반복한다.
클러스터링의 경우 기대값 최대화를 통해 미지의 파라미터를 계산한 후 혼합체
mixture
에서 새로
운 데이터 포인트를 샘플링하면 된다. 분류의 경우 새로운 데이터 포인트가 주어지면 모델은
데이터가 속할 가능성이
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.