Skip to Content
개발자를 위한 필수 수학
book

개발자를 위한 필수 수학

by 토머스 닐드, 박해선
June 2024
Beginner to intermediate
352 pages
9h 29m
Korean
Hanbit Media, Inc.
Content preview from 개발자를 위한 필수 수학
184
개발자를 위한 필수 수학
5.3.3
경사 하강법
경사 하강법
gradient
descent
은 미분과 반복을 사용해 목적 함수에 대한 파라미터 집합을 최소화/최
대화하는 최적화 기법입니다. 경사 하강법을 알아보기 위해 간단한 사고 실험을 한 다음, 간단
한 예제에 적용해보겠습니다.
경사 하강법에 대한 사고 실험
깜깜한 밤, 산 꼭대기에 있는데 손전등 하나만 가지고 있다고 상상해보세요. 여러분은 산 아래
가장 낮은 지점으로 가고 싶습니다. 한 발자국을 내딛기 전에 손전등을 비춰 주변의 경사를 볼
수 있습니다. 경사가 눈에 띄게 아래로 내려가는 방향으로 발걸음을 옮깁니다. 경사가 크면 발
걸음을 크게 내딛고, 경사가 작으면 발걸음을 작게 내딛습니다. 궁극적으로 경사가 평평한 낮
은 지점, 즉 경사가
0
인 곳에 도달합니다. 꽤 괜찮게 들리죠? 손전등을 이용해 경사가 아래로
내려가는 방향으로 이동하는 이런 방법을 경사 하강법이라고 합니다.
머신러닝에서는 다양한 파라미터로 구성된 전체 제곱 합의 손실을 하나의 산악 지형으로 생각
할 수 있습니다. 손실을 최소화하기 위해 이 손실 지형을 탐색합니다. 이 문제를 해결하기 위
해 경사 하강법에는 한 가지 매력적인 특징이 있습니다. 편도함수가 모든 파라미터(이 경우
m
b
, 또는
β
1
β
0
)의 경사를 보여주는 손전등의 역할을 하는 것이죠. 경사가 아래로 내려가는
방향으로
m
b
를 이동시킵니다. 경사가 클수록 더 많이 이동하고 경사가 작을수록 더 조금씩
이동합니다. 경사 크기에 비례해 보폭의 크기를 ...
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: 9791169212502