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

개발자를 위한 필수 수학

by 토머스 닐드, 박해선
June 2024
Beginner to intermediate
352 pages
9h 29m
Korean
Hanbit Media, Inc.
Content preview from 개발자를 위한 필수 수학
271
7
장
신경망
지금까지 모두 이해했나요? 계속 진행하기 전에 여기까지의 내용을 모두 되새겨보세요. 마지
막으로 다룰 부분이 하나 남았습니다. 바로 가중치와 편향의 최적화입니다. 진한 커피 한잔 미
리 준비하세요. 이 책에서 다룰 내용 중 가장 복잡한 수학을 다루기 때문입니다!
7.3
역전파
확률적 경사 하강법으로 신경망을 최적화하기 전에 직면한 과제는 가중치와 편향값을 변경하
는 방법을 파악하는 것입니다. 가중치와 편향값이 서로 얽혀서 출력을 생성하고, 이를 사용해
잔차를 계산합니다. 그럼 가중치
W
i
와 편향
B
i
변수의 도함수는 어떻게 구할까요?
1
장에서 다
룬 연쇄 법칙을 사용해보죠.
7.3.1
가중치와 편향에 대한 도함수 구하기
아직 신경망을 훈련하기 위해 확률적 경사 하강법을 적용할 준비가 되지 않았습니다. 왜냐하면
가중치
W
i
와 편향
B
i
에 대한 편도함수를 구해야 하기 때문입니다. 이를 위해 연쇄 법칙의 도움
을 받아봅시다.
과정은 이전과 유사하지만, 신경망에 확률적 경사 하강법을 적용하려면 복잡합니다. 한 층의
노드는 가중치와 편향을 적용한 결과를 다음 층에 전달하고, 다음 층은 또 다른 가중치와 편향
을 적용합니다. 이렇게 하면 출력 층부터 풀어야 하는 양파 껍질 같은 중첩이 생깁니다.
경사 하강법을 수행하는 동안 전체 비용 함수를 줄이기 위해 어떤 가중치와 편향을 얼마나 조
정해야 하는지 파악해야 합니다. 예측에 대한 비용은 신경망의 출력
A
2
와 실젯값
Y
의 차이를
제곱한 값입니다.
2
2
()C AY
= −
하지만 한 층을 벗겨보겠습니다. ...
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