훈련 도중, 특히 경사 하강법을 수행해 가중치를 업데이트할 때 각 에포크가 완료된 후에 현재
가중치에서 검증 데이터셋을 활용해 훈련 함수에 의해 만들어진 오차를 계산한다.
이 오차는 훈련 데이터를 학습하면서 감소해야 하지만 일정 에포크 후에 오히려 증가하기 시작
한다. 이는 훈련 함수가 훈련 데이터에 과적합되어 검증 데이터에 대해 일반화하지 못한다는
것을 의미한다. 검증 데이터셋에 대한 모델 예측 오차가 증가하기 시작하면 학습을 중단하고
오차가 증가하기 직전 가중치 집합으로 돌아가야 한다.
4.5.3
배치 정규화
배치 정규화
batch
normalization
의 주요 아이디어는 신경망 각 층의 입력을 정규화하는 것이다. 즉,
각 층의 입력을 평균이
0
이고 분산이
1
이 되도록 만드는 것이다. 이는 일반적으로 각 층의 입
력에서 평균을 빼고 분산으로 나누는 방식으로 수행된다. 이와 관련된 ...
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.