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

개발자를 위한 필수 수학

by 토머스 닐드, 박해선
June 2024
Beginner to intermediate
352 pages
9h 29m
Korean
Hanbit Media, Inc.
Content preview from 개발자를 위한 필수 수학
30
개발자를 위한 필수 수학 워크북
0505
5
.
3
.
1
절에서 설명한 닫힌 형식 방정식을 유도하세요.
ˆ
y
은 선형 회귀로 예측한
값이라 할 때 잔차의 제곱 합
residual
sum
of
squares
(
RSS
)은 다음과 같습니다.
22
11
ˆ
ˆ
()( )
nn
ii i i
ii
y mx b
RSS y y y mx b
= =
= +
= − = −−
∑∑
RSS
가 최소가 되는
m
과
b
를 구해야 합니다.
RSS
의 최솟값은 도함수가
0
이 되는 지점에
있습니다. 먼저
b
에 대해 미분해보죠.
b
에 대해 미분하면 제곱이 곱셈 계수
2
가 되고
b
의
계수 -
1
이 곱해져서 다음과 같이 됩니다.
1
2( )
n
ii
i
RSS
y mx b
b
=
∂
=− −−
∂
∑
이 도함수가
0
이 되는
b
를 구해봅시다.
1
11
( )0
0
n
ii
i
nn
ii
ii
y mx b
y m x nb
=
= =
− −=
− −=
∑
∑∑
b
에 대해 정리하면 다음과 같은 식을 얻습니다.
11
11
nn
ii
ii
b ym x
nn
= =
= −
∑∑
다음으로
RSS
를
m
에 대해 미분해보죠.
m
의 곱셈 계수
x
가 한 번 더 곱해지는 것을 제외하
면 이전과 동일합니다.
1
2( )
n
ii i
i
RSS
x y mx b
m
=
∂
=− −−
∂
∑
이 식을
0
으로 놓고
b
를 앞서 구한 식으로 바꿔보겠습니다.
31
5장 연습 문제
2
1 11
2
1 11 1 1
0
11
( )0
n nn
ii i i
i ii
n nn n n
ii i
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

AI를 위한 필수 수학

AI를 위한 필수 수학

할라 넬슨

Publisher Resources

ISBN: 9791169212502