니다. 그다음 가장 높은 확률을 가진 클래스를 예측 클래스로 사용합니다. 결정 경계를 만들기
위해 사용하는
SVC
의 초평면은 원래 샘플이 어떤 클래스에 속할 확률을 만들지 않습니다. 사
실 약간의 단점을 감수하면 보정된 클래스 확률을 출력할 수 있습니다. 두 개의 클래스가 있는
SVC
에서
플랫 스케일링
platt
scaling
을 사용할 수 있습니다. 먼저
SVC
를 훈련한 다음 별도의 로지
스틱 회귀를 교차검증으로 훈련하여
SVC
출력을 확률에 매핑합니다.
Pyx
e
Af
xB
()
1
1
1
여기서
A
와
B
는 파라미터 벡터이고
f
(
x
)는
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.
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.