Skip to Content
개발자를 위한 필수 수학
book

개발자를 위한 필수 수학

by 토머스 닐드, 박해선
June 2024
Beginner to intermediate
352 pages
9h 29m
Korean
Hanbit Media, Inc.
Content preview from 개발자를 위한 필수 수학
252
개발자를 위한 필수 수학
선(로지스틱 회귀 )의 면적이 더 크므로 더 우수한 모델임을 의미합니다.
그림
6-21
AUC
를 기준으로 두 모델의
ROC
곡선 비교
AUC
를 평가 기준으로 사용하려면 [예제
6
-
18
]의 교차 검증에서
scoring
매개변숫값을
'
roc
_
auc
'
로 바꾸면 됩니다.
예제
6-18
교차 검증에
AUC
사용하기
results
=
cross_val_score(model,
X,
Y,
cv=kfold,
scoring='roc_auc')
print("AUC: %.3f (%.3f)"
%
(results.mean(),
results.std()))
# AUC: 0.791 (0.051)
6.11
클래스 불균형
이 장을 마무리하기 전에 마지막으로 한 가지 더 다루어야 할 주제가 있습니다. 앞서 오차 행렬
에 대해 이야기할 때 본 것처럼, 모든 출력 클래스에 걸쳐 데이터가 균등하게 표현되지 않을 때
발생하는
클래스 불균형
class
imbalance
은 머신러닝의 한 문제입니다. 안타깝게도 우리가 주로 관심
있는 질병 예측, 보안 위험
security
breaches
, 사기 탐지
fraud
detection
등과 같은 여러 문제에서 클래스
불균형이 발생합니다. 클래스 불균형은 여전히 해결되지 않은 미해결 문제입니다. 하지만 시도
해볼 만한 몇 가지 기법이 있습니다. ...
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

개발자를 위한 머신러닝&딥러닝

개발자를 위한 머신러닝&딥러닝

로런스 모로니

Publisher Resources

ISBN: 9791169212502