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

개발자를 위한 필수 수학

by 토머스 닐드, 박해선
June 2024
Beginner to intermediate
352 pages
9h 29m
Korean
Hanbit Media, Inc.
Content preview from 개발자를 위한 필수 수학
50
개발자를 위한 필수 수학
# 스텝 크기 s가 0에 무한히 가까워질 때 x = 2에서 기울기를 계산합니다.
result = limit(slope_2, s, 0)
print(result) # 4
x
에 특정 값을 할당하지 않고 그대로 둔 상태에서 스텝 크기
s
0
을 향해 무한히 줄이면 어떻
게 될까요? [예제
1
-
23
]을 살펴봅시다.
예제
1-23
극한을 사용해 도함수 계산하기
from sympy import *
# 'x'와 스텝 크기 's' 정의
x, s = symbols('x s')
# 함수 정의
f = x**2
# 간격 's'만큼 떨어진 두 점을 기울기 공식에 대입합니다.
slope_f = (f.subs(x, x + s) - f) / ((x+s) - x)
# 스텝 크기 s가 0에 무한히 가까워질 때 도함수를 계산합니다.
result = limit(slope_f, s, 0)
print(result) # 2*x
출력된 도함수는
2x
입니다. 심파이는 스텝 크기가
0
에 도달하지 않고 무한대로
0
에 가까워지
는 것을 알고 있습니다. 이때
f
(
x
) =
x
2
은 이 함수의 도함수인
2x
에 수렴합니다.
16
1.10.2
연쇄 법칙
7
장에서 신경망을 만들 때
연쇄 법칙
chain
rule
이라는 특별한 수학 기법이 필요합니다. 신경망 층
을 훈련할 때 각 층의 도함수를 풀어서 연결해야 합니다. ...
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