여기서 볼 수 있듯이, 이진 분류에서의 선형 모델과 회귀에서의 선형 모델 사이에는 유사점이
많습니다. 회귀에서처럼, 모델들의 주요 차이는 규제에서 모든 특성을 이용할지 일부 특성만을
사용할지 결정하는
penalty
매개변수입니다.
26
다중 클래스 분류용 선형 모델
(로지스틱 회귀만 제외하고
27
) 많은 선형 분류 모델은 태생적으로 이진 분류만을 지원합니다.
26
옮긴이_
LogisticRegression
과
LinearSVC
의
penalty
매개변수에 설정할 수 있는 값은 일부 특성만 사용하게 되는
L1
규제를 나타
내는
l1
과 전체 특성을 모두 사용하는
L2
규제의
l2
입니다.
27
옮긴이_ 로지스틱 회귀는 소프트맥스(
softmax
) 함수를 사용한 다중 클래스 분류 알고리즘을 지원합니다.
94
파이썬 라이브러리를 활용한 머신러닝(번역개정판)
즉 다중 클래스
multiclass
를 지원하지 않습니다. ...
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.