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

개발자를 위한 필수 수학

by 토머스 닐드, 박해선
June 2024
Beginner to intermediate
352 pages
9h 29m
Korean
Hanbit Media, Inc.
Content preview from 개발자를 위한 필수 수학
191
5
장
선형 회귀
그림
5-9
단순 선형 회귀의 손실 함수
5.4
과대적합 및 분산
제곱 합의 값이
0
이 되도록 손실을 최소화하려면 어떻게 해야 할까요? 선형 회귀 외에 다른
방법이 있을까요? 한 가지 방법은 단순히 모든 포인트를 지나는 곡선을 찾는 것입니다. [그림
5
-
10
]처럼 포인트 사이를 연결하고 이를 사용해 예측하는 것은 어떨까요? 이렇게 하면 손실이
0
이 됩니다!
그림
5-10
단순히 포인트를 연결하여 회귀를 수행하면 손실은
0
이 됩니다.
192
개발자를 위한 필수 수학
그러면 왜 이 방법 대신 번거롭게 선형 회귀를 사용했을까요? 이 문제의 진짜 목표는 훈련 데
이터에 대한 제곱 합을 최소화하는 것이 아니라, 새로운 데이터에 대해 정확한 예측을 하는 것
입니다. 이런 포인트 연결 모델은 심하게
과대적합
overfitting
되었습니다. 즉, 훈련 데이터에만 너
무 정확하게 맞아서 새로운 데이터에 대해 제대로 예측하지 못합니다. 단순한 포인트 연결 모
델은 다른 데이터에서 멀리 떨어져 있는 이상치에 민감하므로 예측의
분산
이 높습니다. 이 예
제에 있는 포인트들은 비교적 직선에 ...
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