Skip to Content
For Enterprise
For Government
For Higher Ed
For Individuals
For Marketing
For Enterprise
For Government
For Higher Ed
For Individuals
For Marketing
Explore Skills
Cloud Computing
Microsoft Azure
Amazon Web Services (AWS)
Google Cloud
Cloud Migration
Cloud Deployment
Cloud Platforms
Data Engineering
Data Warehouse
SQL
Apache Spark
Microsoft SQL Server
MySQL
Kafka
Data Lake
Streaming & Messaging
NoSQL Databases
Relational Databases
Data Science
Pandas
R
MATLAB
SAS
D3
Power BI
Tableau
Statistics
Exploratory Data Analysis
Data Visualization
AI & ML
Generative AI
Machine Learning
Artificial Intelligence (AI)
Deep Learning
Reinforcement Learning
Natural Language Processing
TensorFlow
Scikit-Learn
Hyperparameter Tuning
MLOps
Programming Languages
Java
JavaScript
Spring
Python
Go
C#
C++
C
Swift
Rust
Functional Programming
Software Architecture
Object-Oriented
Distributed Systems
Domain-Driven Design
Architectural Patterns
IT/Ops
Kubernetes
Docker
GitHub
Terraform
Continuous Delivery
Continuous Integration
Database Administration
Computer Networking
Operating Systems
IT Certifications
Security
Network Security
Application Security
Incident Response
Zero Trust Model
Disaster Recovery
Penetration Testing / Ethical Hacking
Governance
Malware
Security Architecture
Security Engineering
Security Certifications
Design
Web Design
Graphic Design
Interaction Design
Film & Video
User Experience (UX)
Design Process
Design Tools
Business
Agile
Project Management
Product Management
Marketing
Human Resources
Finance
Team Management
Business Strategy
Digital Transformation
Organizational Leadership
Soft Skills
Professional Communication
Emotional Intelligence
Presentation Skills
Innovation
Critical Thinking
Public Speaking
Collaboration
Personal Productivity
Confidence / Motivation
Features
All features
Verifiable skills
AI Academy
Courses
Certifications
Interactive learning
Live events
Superstreams
Answers
Insights reporting
Radar Blog
Buy Courses
Plans
Sign In
Try Now
O'Reilly Platform
book
Pythonデータサイエンスハンドブック ―Jupyter、NumPy、pandas、Matplotlib、scikit-learnを使ったデータ分析、機械学習
by
Jake VanderPlas
,
菊池 彰
May 2018
Intermediate to advanced
556 pages
13h 21m
Japanese
O'Reilly Japan, Inc.
Content preview from
Pythonデータサイエンスハンドブック ―Jupyter、NumPy、pandas、Matplotlib、scikit-learnを使ったデータ分析、機械学習
5.9
詳細:主成分分析
439
主成分
1
2
図5-84 PCAを適用した手書き数字データ
主成分が意味するものを思い出してみてください。元のデータは
64
次元の点の集まりであり、
プロットされた点は分散が最も大きい方向に各データポイントを投影した結果です。本質的に言う
と、
64
次元空間の回転や伸縮を最適に行うことで、手書き数字のデータ配置が
2
次元空間から眺め
られるようになりました。この作業を教師なし学習、つまりデータのラベルを参照しない方法で実
行できたのです。
5.9.1.3
成分の意味
ここでもう少し踏み込んで、縮小された次元の意味について考えてみましょう。これは、基底ベ
クトルの組み合わせとして理解できます。例えば、学習データセット内の各画像は、
64
のピクセ
ル値の集合によって定義されます。ここではベクトル
x
と呼ぶことにしましょう。
x
=
[
x
1
,
x
2
,
x
3
,
…
,
x
64
]
これをピクセル単位の観点で把握する方法を考えます。つまり、イメージを構築するには、ベク
トルの各要素に記述するピクセルを掛け、その結果をまとめてイメージを構築します。
イメージ(
x
)=
x
1
・(ピクセル
1
)+
x
2
・(ピクセル
2
)+
x
3
・(ピクセル
3
)+…+
x
64
・(ピクセル
64
)
このデータの次元を縮小するために、これらの基底ベクトルのほとんどをゼロにしてしまう方法
が考えられます。例えば、最初の
8
ピクセルのみを使用すると、データの
8
次元投影(
図5-85
)が得
られますが、元の画像をあまりよく反映できません。約
90
%ものピクセルを捨
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.
Start your free trial
You might also like
Pythonデータサイエンスハンドブック 第2版 ―Jupyter、NumPy、pandas、Matplotlib、scikit-learnを使ったデータ分析、機械学習
Jake VanderPlas, 菊池 彰
Pythonではじめる機械学習 ―scikit-learnで学ぶ特徴量エンジニアリングと機械学習の基礎
Andreas C. Muller, Sarah Guido, 中田 秀基
PythonによるAIプログラミング入門 ―ディープラーニングを始める前に身につけておくべき15の基礎技術
Prateek Joshi, 相川 愛三
初めてのGraphQL ―Webサービスを作って学ぶ新世代API
Eve Porcello, Alex Banks, 尾崎 沙耶, あんどうやすし
Publisher Resources
ISBN: 9784873118413
Other