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를 활용한 머신러닝, 딥러닝 완벽 실무
179
4
장
모델 훈련
나쁘지 않네요. 실제 원래 함수가
가우시안 잡음
... +++=
020150
1
2
1
xxy
이고 예측된 모델은
1.78930560
1
2
1
++= xxy ..
ˆ
입니다.
특성이 여러 개일 때 다항 회귀는 이 특성 사이의 관계를 찾을 수 있습니다(일반적인 선형
회귀 모델에서는 하지 못합니다 ).
PolynomialFeatures
가 주어진 차수까지 특성 간의 모
든 교차항을 추가하기 때문입니다. 예를 들어 두 개의 특성
a
,
b
가 있을 때
degree
=
3
으로
PolynomialFeatures
를 적용하면
a
2
,
a
3
,
b
2
,
b
3
뿐만 아니라
ab
,
a
2
b
,
ab
2
도 특성으로 추가합
니다.
23
CAUTION_
PolynomialFeatures
(
degree
=
d
)
는 특성이
n
개인 배열을 특성이
!!
)!(
nd
dn
+
개인 배열로
변환합니다.
24
여기서
n
!
은
n
의
팩토리얼
로
n××××
32
1
과 같습니다. 특성 수가 교차항을 포함해 엄청
나게 늘어날 수 있으니 주의해야 합니다 !
4.4
학습 곡선
고차 다항 회귀를 적용하면 보통의 선형 회귀에서보다 훨씬 더 훈련 데이터에 잘 맞추려 할 것
입니다. 예를 들어 [그림
4
-
14
]는
300
차 다항 회귀 모델을 이전의 훈련 데이터에 적용한 것입
니다. 단순한 선형 모델이나
2
차 모델 (
2
차 다항 회귀 모델)과 결과를 비교해보세요. ...
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