Skip to Content
핸즈온 머신러닝(2판): 사이킷런, 케라스, 텐서플로 2를 활용한 머신러닝, 딥러닝 완벽 실무
book

핸즈온 머신러닝(2판): 사이킷런, 케라스, 텐서플로 2를 활용한 머신러닝, 딥러닝 완벽 실무

by 박해선, 오렐리앙 제롱
May 2020
Beginner to intermediate
952 pages
24h 11m
Korean
Hanbit Media, Inc.
Content preview from 핸즈온 머신러닝(2판): 사이킷런, 케라스, 텐서플로 2를 활용한 머신러닝, 딥러닝 완벽 실무
254
1
머신러닝
과 샘플을 모두 샘플링하는 것을
랜덤 패치 방식
random
patches
method
9
이라고 합니다. 훈련 샘플
을 모두 사용하고 (
bootstrap
=
False
이고
max
_
samples
=
1
.
0
로 설정 ) 특성은 샘플링하는
(
bootstrap
_
features
=
True
그리고/또는
max
_
features
1
.
0
보다 작게 설정) 것을
랜덤
서브스페이스 방식
random
subspaces
method
10
이라고 합니다.
특성 샘플링은 더 다양한 예측기를 만들며 편향을 늘리는 대신 분산을 낮춥니다.
7.4
랜덤 포레스트
앞서 언급했듯이 랜덤 포레스트
11
는 일반적으로 배깅 방법(또는 페이스팅)을 적용한 결정 트
리의 앙상블입니다. 전형적으로
max
_
samples
를 훈련 세트의 크기로 지정합니다.
12
Bagging
Classifier
DecisionTreeClassifier
를 넣어 만드는 대신 결정 트리에 최적화되어 사
용하기 편리한
RandomForestClassifier
를 사용할 수 있습니다(비슷하게 회귀 문제를 위한
RandomForestRegressor
가 있습니다).
13
다음은 (최대
16
개의 리프 노드를 갖는)
500
개 트
리로 이뤄진 랜덤 포레스트 분류기를 여러
CPU
코어에서
14
훈련시키는 코드입니다.
from sklearn.ensemble ...
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: 9791162242964