Skip to Content
파이썬 라이브러리를 활용한 머신러닝(번역개정판): 사이킷런 핵심 개발자가 쓴 머신러닝과 데이터 과학 실무서
book

파이썬 라이브러리를 활용한 머신러닝(번역개정판): 사이킷런 핵심 개발자가 쓴 머신러닝과 데이터 과학 실무서

by 박해선, 안드레아스 뮐러, 세라 가이도
April 2019
Beginner to intermediate
480 pages
12h 34m
Korean
Hanbit Media, Inc.
Content preview from 파이썬 라이브러리를 활용한 머신러닝(번역개정판): 사이킷런 핵심 개발자가 쓴 머신러닝과 데이터 과학 실무서
88
파이썬 라이브러리를 활용한 머신러닝(번역개정판)
그림
2-15
forge
데이터셋에 기본 매개변수를 사용해 만든 선형
SVM
과 로지스틱 회귀 모델의 결정 경계
이 그림은 이전처럼
forge
데이터셋의 첫 번째 특성을
x
축에 놓고 두 번째 특성을
y
축에 놓
았습니다.
LinearSVC
LogisticRegression
으로 만든 결정 경계가 직선으로 표현되었고 위
쪽은 클래스
1
, 아래쪽은 클래스
0
으로 나누고 있습니다. 다르게 말하면 새로운 데이터가 이
직선 위쪽에 놓이면 클래스
1
로 분류될 것이고 반대로 직선 아래쪽에 놓이면 클래스
0
으로 분
류될 것입니다.
이 두 모델은 비슷한 결정 경계를 만들었습니다. 그리고 똑같이 포인트 두 개를 잘못 분류했습
니다. 회귀에서 본
Ridge
와 마찬가지로 이 두 모델은 기본적으로
L2
규제를 사용합니다.
LogisticRegression
LinearSVC
에서 규제의 강도를 결정하는 매개변수는
C
입니
다.
24
C
의 값이 높아지면 규제가 감소합니다. 다시 말해 매개변수로 높은
C
값을 지정하면
LogisticRegression
LinearSVC
는 훈련 세트에 가능한 최대로 맞추려 하고, 반면에
C
값을
낮추면 모델은 계수 벡터(
w
)
0
에 가까워지도록 만듭니다.
매개변수
C
의 작동 방식을 다르게 설명할 수도
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.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’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
QuotationMarkI 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
QuotationMarkI’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
QuotationMarkI'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.
Mark W.
Embedded Software Engineer

You might also like

데이터 과학을 위한 통계: 데이터 분석에서 머신러닝까지 50가지 핵심 개념

데이터 과학을 위한 통계: 데이터 분석에서 머신러닝까지 50가지 핵심 개념

이준용, 피터 브루스, 앤드루 브루스

Publisher Resources

ISBN: 9791162241646