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를 활용한 머신러닝, 딥러닝 완벽 실무
189
4
모델 훈련
서 규제가 없는
MSE
의 최적 파라미터는
θ
1
=
2
,
θ
2
=
0
.
5
입니다 ).
그림
4-19
라쏘 대 릿지 규제
아래 두 개의 그래프도 동일하지만
2
페널티를 사용합니다. 왼쪽 아래 그래프에서
2
손실
은 원점에 가까울수록 줄어드는 것을 볼 수 있습니다. 따라서 경사 하강법이 원점까지 직선 경
로를 따라 갑니다. 오른쪽 아래 그래프의 등고선은 릿지 회귀의 비용 함수를 나타냅니다 (
2
손실을 더한
MSE
손실 함수 ). 라쏘와 다른 점은 크게 두 가지입니다. 첫째 파라미터가 전
역 최적점에 가까워질수록 그레이디언트가 작아집니다. 따라서 경사 하강법이 자동으로 느려
지고 수렴에 도움이 됩니다(진동이 없습니다 ). 둘째
α
를 증가시킬수록 최적의 파라미터(빨간
사각형 )가 원점에 더 가까워집니다. 하지만 완전히
0
이 되지는 않습니다.
TIP
라쏘를 사용할 때 경사 하강법이 최적점 근처에서 진동하는 것을 막으려면 훈련하는 동안 점진적으로 학습
률을 감소시켜야 합니다(여전히 최적점 근처에서 진동하겠지만 스텝이 갈수록 작아지므로 수렴하게 될 것입
니다).
라쏘의 비용 함수는
θ
i
=
0
(
i
=
1
,
2
,
...
,
n
일 때 )에서 미분 가능하지 않습니다. 하지만
θ
i
=
0
페널티
페널티
라쏘
릿지
190
1
머신러닝
서브그레이디언트 벡터
subgradient ...
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