print("SVM test accuracy: {:.2f}".format(svm.score(X_test_scaled, y_test)))
Out [13]:
SVM 테스트 정확도: 0.96
전처리 작업을 위한 데이터 변환을 얼마나 간단하게 할 수 있는지 보았습니다. 이제 비지도 학
습을 사용한 더 재미있는 변환에 대해 배워보겠습니다.
3.4
차원 축소, 특성 추출, 매니폴드 학습
앞서 이야기했듯, 비지도 학습을 사용해 데이터를 변환하는 이유는 여러 가지입니다. 가장 일
반적인 동기는 시각화하거나, 데이터를 압축하거나, 추가적인 처리를 위해
11
정보가 더 잘 드
러나는 표현을 찾기 위해서입니다.
이번 절에서는 이런 용도로 가장 간단하고 흔히 사용하는 알고리즘인 주성분 분석
principal
component
analysis
,
PCA
을 소개합니다. 그리고 특성 추출에 널리 사용하는 비음수 행렬 분해
non
-
negative
matrix
factorization
,
NMF
와
2
차원 산점도를 이용해 시각화 용도로 많이 사용하는
t
-
SNE
t
-
distributed
stochastic
neighbor
embedding
알고리즘도 살펴보겠습니다.
3.4.1
주성분 분석(
PCA
)
주성분 분석은 특성들이 통계적으로 ...
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.