하다. 회귀에 필요한 수치적 방법은 쉽게 구현하고 빠르게 실행할 수 있다. 회귀법은 기본적으
로 기저 함수 집합
b
d
, (
d
∈ {
1
,…,
D
})와 [수식
11
-
1
]에 따라 기저 함수를 조합하기 위한 최적
매개변수
**
1
,,
D
를 찾는 작업이다.
[수식
11
-
1
]에서
y
i
는
i
∈ {
1
,…,
I
}에 대해
y
i
≡
f
(
x
i
)를 만족하는 점을 뜻한다. 함수 혹은 통
계적 관점에서
x
i
는 독립 변수,
y
i
는 종속 변수로 생각할 수 있다.
수식
11-1
회귀법의 최적화 문제
1
2
,...,
11
1
min
D
ID
iddi
id
ybx
I
386
3
부
금융 데이터 과학
단항식 기저 함수
가장 간단한 경우는 기저 함수로
b
1
=
1
,
b
2
=
x
,
b
3
=
x
2
,
b
4
=
x
3
,…와 같이 단항식을 사용하는
경우다.
NumPy
는 이 경우에 대해 최적 매개변수를 결정하는
polyfit ...
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.