Skip to Content
파이토치로 배우는 LLM & AI
book

파이토치로 배우는 LLM & AI

by 로런스 모로니, 박해선
March 2026
Intermediate
504 pages
11h 26m
Korean
Hanbit Media, Inc.
Content preview from 파이토치로 배우는 LLM & AI
118
1
부
모델 구축
그림
3-19
가위, 바위, 보 분류기 테스트의 결과
파일 이름을 보면 어떤 이미지인지 알 수 있습니다.
조금 더 자세히 살펴보면
scissors4
.
png
파일의 출력이
[-
2
.
5582
,
-
1
.
7362
,
3
.
8465
]
입니
다. 가장 큰 숫자가 세 번째이고, 알파벳 순서대로 생각해 보면 세 번째 뉴런이 가위를 나타내
므로 올바르게 분류했습니다. 다른 파일에 대해서도 비슷한 결과를 얻었습니다.
테스트에 사용할 수 있는 일부 이미지를 다운로드할 수 있습니다. 물론 직접 준비한 사진을 사
용할 수도 있습니다. 하지만 훈련 이미지는 모두 흰 배경이므로 직접 찍은 사진의 배경이 복잡
하다면 모델이 혼동할 수도 있습니다.
3.9
드롭아웃 규제
앞서
3
장 초반에 과대적합을 언급했습니다. 과대적합은 신경망이 특정한 종류의 입력 데이터
에 과도하게 맞춰져 있어 다른 데이터에서는 성능이 나쁜 경우였습니다. 이를 극복하는 한 가
지 기법은
드롭아웃 규제
dropout
regularization
입니다.
신경망을 훈련할 때 개별 뉴런은 같은 층의 다른 뉴런에 영향을 받습니다. 특히 신경망의 규모
가 크다면 시간이 지남에 따라 일부 뉴런이 과도하게 전문화될 수 있습니다. 이후 층에도 이런
119
3
장
고급 컴퓨터 비전: 이미지에서 특징 감지하기
영향이 전달되어 전체적으로 신경망이 ...
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

PyTorch의 코더를 위한 AI 및 ML

PyTorch의 코더를 위한 AI 및 ML

Laurence Moroney
헤드 퍼스트 자바(3판)

헤드 퍼스트 자바(3판)

케이시 시에라, 버트 베이츠

Publisher Resources

ISBN: 9791175790223