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

개발자를 위한 필수 수학

by 토머스 닐드, 박해선
June 2024
Beginner to intermediate
352 pages
9h 29m
Korean
Hanbit Media, Inc.
Content preview from 개발자를 위한 필수 수학
222
개발자를 위한 필수 수학
로지스틱 회귀를 사용해 주어진 입력 변수에 대한 확률을 예측할 뿐만 아니라 임곗값을 추가해
해당 범주에 속하는지 여부를 예측할 수도 있습니다. 예를 들어 새로운 환자가 화학 물질에
6
시간 동안 노출되었다면 [그림
6
-
5
]처럼 증상을 보일 확률을
71
.
1
%로 예측합니다. 증상을 보
일 확률
50
%를 임곗값으로 설정하면 이 환자를 증상을 가진 환자로 간단히 분류할 수 있습니다.
그림
6-5
화학 물질에
6
시간 동안 노출된 환자는 증상이 나타날 가능성이
71
.
1
%이며, 이는 임곗값인
50
%보다 높으므
로 증상이 나타날 것으로 예측합니다.
6.2
로지스틱 회귀 수행하기
그렇다면 로지스틱 회귀는 어떻게 수행할까요? 먼저 로지스틱 함수를 살펴보고 그 이면에 있
는 수학을 살펴보겠습니다.
6.2.1
로지스틱 함수
로지스틱 함수
는 주어진 입력 변수에 대해
0
과
1
사이의 출력 변수를 생성하는
S
자형 곡선(
시
그모이드 곡선
sigmoid
curve
이라고도 함)입니다. 출력 변수가
0
과
1
사이이므로 확률을 표현할 때
도 사용합니다.
다음은 하나의 입력 변수
x
에 대한 확률
y
를 출력하는 로지스틱 함수입니다.
01
()
1.0
1.0
x
y
e
ββ
−+
=
+
이 공식은
1
장에서 소개한 오일러 수
e
를 사용합니다.
x
변수는 독립 변수(입력 변수)입니다.
β
0
과
β
1
은 ...
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