미지입니다. 분류기가 잘못 분류한 숫자 중 일부는 정말 잘못 쓰여 있어서(왼쪽 아래 블록과
오른쪽 위 블록) 사람도 분류하기 어려울 것 같습니다(
8
번째 행,
1
번째 열의
5
는 정말
3
처럼
보입니다). 그러나 대부분의 잘못 분류된 이미지는 확실히 에러인 것 같고 분류기가 실수한 이
유를 이해하기 어렵습니다.
13
원인은 선형 모델인
SGDClassifier
를 사용했기 때문입니다. 선
형 분류기는 클래스마다 픽셀에 가중치를 할당하고 새로운 이미지에 대해 단순히 픽셀 강도의
가중치 합을 클래스의 점수로 계산합니다. 따라서
3
과
5
는 몇 개의 픽셀만 다르기 때문에 모델
이 쉽게 혼동하게 됩니다.
3
과
5
의 주요 차이는 위쪽 선과 아래쪽 호를 이어주는 작은 직선의 위치입니다. 숫자
3
을 쓸 때
연결 부위가 조금 왼쪽으로 치우지면 분류기가
5
로 분류하고, 또 반대도 마찬가지입니다. 다른
말로 하면 분류기는 이미지의 위치나 회전 방향에 매우 민감합니다.
3
과
5
의 에러를 줄이는 한
가지 방법은 이미지를 중앙에 위치시키고 회전되어 있지 않도록 전처리하는 것입니다. 이렇게
하면 아마 다른 에러도 줄어들 것입니다.
3.6
다중 레이블 분류
지금까지는 각 ...
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.
O’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
I 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
I’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
I'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.