Skip to Content
실무로 통하는 ML 문제 해결 with 파이썬
book

실무로 통하는 ML 문제 해결 with 파이썬

by 카일 갤러틴, 크리스 알본, 박해선
April 2024
Beginner to intermediate
528 pages
12h 41m
Korean
Hanbit Media, Inc.
Content preview from 실무로 통하는 ML 문제 해결 with 파이썬
14
장
트리와 랜덤 포레스트
365
●
max
_
leaf
_
nodes
리프 노트의 최대 개수
●
min
_
impurity
_
split
분할하기 위한 불순도 최소 감소량
이런 매개변수를 알고 있는 것이 유용하지만 대부분
max
_
depth
와
min
_
impurity
_
split
만 사
용합니다. 얕은 트리(
스텀프
stump
라고도 부릅니다 )로 만든 모델이 간단하고 분산이 낮기 때문입
니다.
덧붙임
트리 기반 모델에서 과대적합을 막는 방법은 트리의 성장을 제한하는 것입니다. 트리
가 모두 성장한 후 노드를 줄이는 방법을 사후 가지치기
post
-
pruning
라고 하고 성장하기 전에 막는
방법을 사전 가지치기
pre
-
pruning
라고 부릅니다. 사이킷런은 사전 가지치기만 지원합니다.
이 외에도
min
_
samples
_
leaf
와 비슷하지만 가중치가 부여된 전체 샘플 개수에 대한 비율
을 사용하는
min
_
weight
_
fraction
_
leaf
가 있습니다. 사이킷런
0
.
19
버전에서 분할로 얻어
질 최소한의 불순도 감소량을 지정하는
min
_
impurity
_
decrease
가 추가되었습니다.
min
_
impurity
_
split
는 사이킷런
0
.
25
버전에서 사라졌습니다. 대신
min
_
impurity
_
decrease
를
사용하세요.
트리 모델에서 과대적합을 줄이려면
min
_
으로 시작하는 매개변숫값을 증가시키거나 ...
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

실무로 통하는 인과추론 with 파이썬

실무로 통하는 인과추론 with 파이썬

마테우스 파쿠레

Publisher Resources

ISBN: 9791169212373