Skip to Content
밑바닥부터 시작하는 데이터 과학 데이터 분석을 위한 파이썬 프로그래밍과 수학·통계 기초
book

밑바닥부터 시작하는 데이터 과학 데이터 분석을 위한 파이썬 프로그래밍과 수학·통계 기초

by Joel Grus, Hangyeol Kim, Seongju Ha, Eunjung Park
May 2022
Beginner to intermediate
448 pages
13h 7m
Korean
Insight
Content preview from 밑바닥부터 시작하는 데이터 과학 데이터 분석을 위한 파이썬 프로그래밍과 수학·통계 기초
from Scratch
333
󽴜󽴔󻫗󻞫󽴞󽴔󻀇󻱟󽴔󺞷󻯓󻰧󽴔󽴔󻕻󻭸󼨧󺋿
def params(self) -> Iterable[Tensor]:
return [self.w, self.u, self.b]
def grads(self) -> Iterable[Tensor]:
return [self.w
_
grad, self.u
_
grad, self.b
_
grad]
이 ‘간단한’ RNN은 너무 간단해서 실전에서는 사용하지 않는 것이 좋다.
SimpleRnn
은 몇 가지 한계점이 있다. 매번 호출될 때마다 모든 숨겨진 상태를 사
용하여 입력값을 업데이트한다. 그리고 숨겨진 상태를 호출할 때마다 모든 숨겨
진 상태가 덮어씌워진다. 이런 한계점 때문에 학습이 힘들뿐더러, 특히 긴 범위
의 종속성(
long
-
range
dependencies
)에 대한 학습이 어려워진다.
그렇기 때문에 이렇게 간단한
RNN
은 거의 아무도 사용하지 않는다. 대신,
LSTM
(
long
short
-
term
memory
) 또는
GRU
(
gated
recurrent
unit
)와 같이 파라미터
수가 훨씬 많고, 모든 파라미터가 업데이트되는 것을 막는 ‘게이트(
gate
)’가 있는
변형된
RNN
을 사용한다.
이 변형들이 딱히 복잡한 것은 아니다. 하지만 훨씬 많은 코드가 필요하고, 개
인적으로는 단순히 코드를 읽는 것은 ...
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: 9788966262571