이쯤이면 손실 함수의 정의는 이해하셨을 겁니다. 그렇다면 왜 굳이 손실 함수를 사용해야 하
는 걸까요? 예컨대 숫자 인식의 경우도 우리의 궁극적인 목적은 높은 ‘정확도’를 끌어내는 매개
변수 값을 찾는 것입니다. 그렇다면 ‘정확도’라는 지표를 두고 중간에 손실 함수의 값을 거치는
것은 쉬운 길을 빙 돌아가는 것은 아닐까요?
이 의문은 신경망 학습에서의 ‘미분’의 역할에 주목한다면 해결됩니다. 자세한 것은 다음 절에
서 설명합니다만, 신경망 학습에서는 최적의 매개변수(가중치와 편향)를 탐색할 때 손실 함수
의 값을 가능한 한 작게 하는 매개변수 값을 찾습니다. 이때 매개변수의 미분(정확히는 기울
기)을 계산하고, 그 미분 값을 단서로 매개변수의 값을 서서히 갱신하는 과정을 반복합니다.
가령 여기에 가상의 신경망이 있고 그 신경망의 어느 한 가중치 매개변수에 주목한다고 합시
다. 이때 그 가중치 매개변수의 손실 함수의 미분이란 ...
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.
O’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
I 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
I’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
I'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.