과 같이 고차 항을 추가하는 것은 종종 회귀방정식에 바람직하지 않은 ‘흔들림’을 초래한다. 비
선형 관계를 모델링하는 또 다른 더 나은 방법은
스플라인
을 사용하는 것이다. 스플라인은 고정
된 점들 사이를 부드럽게 보간하는 방법을 말한다. 스플라인은 원래 선박이나 항공기를 건조할
때, 부드러운 곡선을 그리기 위해 사용되었다.
‘덕
duck
’이라는 추를 사용하여 얇은 나무 조각을 구부려서 스플라인을 만들곤 했다(그림
4
-
11
).
217
4
장
회귀와 예측
그림
4-11
스플라인은 원래 잘 휘는 나무와 ‘덕’을 사용하여 만들었다. 이는 제도하는 사람들이 곡선을 그리기 위해 사
용하는 도구가 되었다. 사진 제공: 밥 페리(
Bob
Perry
)
스플라인에 대한 좀 더 기술적인 정의는 일련의 조각별 연속 다항식을 뜻한다. 루마니아 출
신 수학자 ...
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.