은 종 모양 그래프를 만들며 샘플이 넓은 범위에 걸쳐 영향을 주므로 결정 경계가 더 부드러워집
니다. 결국 하이퍼파라미터
γ
가 규제의 역할을 합니다. 모델이 과대적합일 경우엔 감소시켜야
하고 과소적합일 경우엔 증가시켜야 합니다(하이퍼파라미터
C
와 비슷합니다
10
).
그림
5-9
RBF
커널을 사용한
SVM
분류기
다른 커널도 있지만 거의 사용되지 않습니다. 예를 들어 어떤 커널은 특정 데이터 구조에 특화
되어 있습니다. 문자열 커널
string
kernel
이 가끔 텍스트 문서나
DNA
서열을 분류할 때 사용됩니
다(예를 들면 문자열 서브시퀀스 커널
string
subsequence
kernel
이나 레벤슈타인 거리
Levenshtein
distance
기반의 커널).
11
10
옮긴이_ 따라서 모델의 복잡도를 조절하려면
gamma
와
C
하이퍼파라미터를 함께 조정하는 것이 좋습니다.
11
옮긴이_ 문자열 커널은 두 문자열의 유사도를 비교하는 함수로 생각할 수 있습니다. 서브시퀀스는 연속되지 않더라도 순서대로 나열
되는 모든 경우를 고려하여 거리를 측정합니다. ...
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.