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

AI를 위한 필수 수학

by 할라 넬슨, 안민재
August 2024
Beginner to intermediate
640 pages
14h 53m
Korean
Hanbit Media, Inc.
Content preview from AI를 위한 필수 수학
145
Chapter 3 -
데이터에 함수를 최적화시키는 방법
다음으로 다른 피처의 정보를 활용하여 결과 피처의 엔트로피 차이를 계산한다. 보통 정보가
늘어나면 놀라움은 줄어들기 때문에 결과 피처의 엔트로피는 감소할 것으로 예상된다.
피처
A
를 의사 결정 트리의 분할 노드로 선택했다고 가정하자. 피처
A
는
4
개의 값을 가지며
value
1
이라는 값을 가진
k
1
개의 인스턴스가 있다. 이 중
p
1
은 양의 클래스로 레이블이 지정되
고
n
1
은 음의 클래스로 레이블이 지정되므로
p
1
+
n
1
=
k
1
이 된다고 가정한다. 마찬가지로 피
처
A
에는
value
2
라는 값을 가진
k
2
개의 인스턴스가 있으며, 이 중
p
2
는 양의 클래스로 레이블
이 지정되고
n
2
는 음의 클래스로 레이블이 지정되므로
p
2
+
n
2
=
k
2
가 된다. 피처
A
의
value
3
,
value
4
도 동일하게 적용된다. 따라서 데이터셋 전체에 포함되어 있는 인스턴스 수는
k
1
+
k
2
+
k
3
+
k
4
=
m
이다.
피처
A
의 각 값
value
k
를
p
k
개의 양의 클래스와
n
k
개의 음의 클래스를 가진 독립적인 확률 변수
로 생각할 수 있으므로 각 엔트로피 (놀라움의 기대값 )를 계산할 수 있다.
log
log log
log log
log log
log
pn
p
pn pn
n
entropy value
pn
p
pn
p
pn
n
pn
n
entropy ...
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