Skip to Content
밑바닥부터 시작하는 딥러닝
book

밑바닥부터 시작하는 딥러닝

by 사이토 고키, 개앞맵시(이복연)
January 2017
Beginner to intermediate
312 pages
7h 3m
Korean
Hanbit Media, Inc.
Content preview from 밑바닥부터 시작하는 딥러닝
203
6
장
-
학습 관련 기술들
다. 그럼 순전파 때는 입력층의 가중치가
0
이기 때문에 두 번째 층의 뉴런에 모두 같은 값이 전
달됩니다. 두 번째 층의 모든 뉴런에 같은 값이 입력된다는 것은 역전파 때 두 번째 층의 가중치
가 모두 똑같이 갱신된다는 말이 됩니다 (‘곱셈 노드의 역전파’를 떠올려보세요 ). 그래서 가중치
들은 같은 초깃값에서 시작하고 갱신을 거쳐도 여전히 같은 값을 유지하는 것이죠. 이는 가중
치를 여러 개 갖는 의미를 사라지게 합니다. 이 ‘가중치가 고르게 되어버리는 상황’을 막으려면
(정확히는 가중치의 대칭적인 구조를 무너뜨리려면 ) 초깃값을 무작위로 설정해야 합니다.
6.2.2
은닉층의 활성화값 분포
은닉층의 활성화값(활성화 함수의 출력 데이터 )
*
의 분포를 관찰하면 중요한 정보를 얻을 수
있습니다. 이번 절에서는 가중치의 초깃값에 따라 은닉층 활성화값들이 어떻게 변화하는지 간
단한 실험을 해보려 합니다. 구체적으로는 활성화 함수로 시그모이드 함수 사용하는
5
층 신경
망에 무작위로 생성한 입력 데이터를 흘리며 각 층의 활성화값 분포를 히스토그램으로 그려보
겠습니다. 이 실험은 스탠퍼드 대학교의
CS231n
수업
[
5
]
을 참고했습니다.
이 실험을 위한 전체 소스 코드는
ch06
/
weight
_
init
_
activation
_
histogram
.
py
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: 9788968484636