훈련 샘플 수가 특성 개수보다 작을 때 원 문제보다 쌍대 문제를 푸는 것이 더 빠릅니다. 더 중
요한 것은 원 문제에서는 적용이 안 되는 커널 트릭을 가능하게 합니다. 그렇다면 커널 트릭은
도대체 무엇일까요?
5.4.5
커널
SVM
(
moons
데이터셋 같은)
2
차원 데이터셋에
2
차 다항식 변환을 적용하고 선형
SVM
분류기를
변환된 이 훈련 세트에 적용한다고 합시다. [식
5
-
8
]은 우리가 적용하고자 하는
2
차 다항식 매
핑 함수
ϕ
입니다.
식
5-8
2
차 다항식 매핑
==
2
2
21
2
1
2
1
2
x
xx
x
x
x
φ
φ
)( x
(
(
(
(
(
(
변환된 벡터는
2
차원이 아니고
3
차원이 됩니다. 두 개의
2
차원 벡터
a
와
b
에
2
차 다항식 매핑
을 적용한 다음 변환된 벡터로 점곱
dot
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.