Skip to Content
面向数据科学家的实用统计学
book

面向数据科学家的实用统计学

by Peter Bruce, Andrew Bruce
October 2018
Beginner to intermediate
238 pages
6h 32m
Chinese
Posts & Telecom Press
Content preview from 面向数据科学家的实用统计学
198
|
第
7
章
应选取多少个成分
?
如果我们的目标是降低数据的维度,那么必须确定要选取的主成分数。最常
用的方法是使用
即席
(
ad hoc
)规则,即选择解释了“大部分”方差的成分。
我们可以通过陡坡图以可视化方式进行。例如,在图
7-2
中,很自然地要将
分析限定于前五个成分。另一种方法是选择累积方差超过一定阈值(例如
80%
)的前几个成分。此外,我们还可以通过检查载荷的情况,确定各个成
分是否能给出直观的解释。对于选择重要成分的数量,一种正式的做法是使
用交叉验证(更多信息,参见
4.2.3
节 )。
本节要点
•
主成分是预测变量的线性组合,但仅限于数值型预测变量。
•
主成分计算的原则是使成分之间的相关性最小化,进而减少冗余。
•
通常,有限数量的成分就可以解释结果变量的大部分方差。
•
这样就可以使用一组有限的主成分代替(更多的)原始预测变量,从而降低维度。
7.1.4
 拓展阅读
Rasmus Bro
、
Karin Kjeldahl
、
A. K. Smilde
和
Henk A. L. Kiers
于
2008
年发表在
Analytical
and Bioanalytical Chemistry
期刊上的论文“
Cross-Validation of Component Models: A Critical
Look at Current Methods
”详细地介绍了如何在主成分分析中使用交叉验证方法。
7.2
 
K
-Means
聚类
聚类是一种数据分组技术,使得组内记录彼此相似。聚类的一个目标是识别数据中重要且
有意义的组。这些组可以直接使用,进行更深入的分析 ...
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

基于Python的智能文本分析

基于Python的智能文本分析

Benjamin Bengfort, Rebecca Bilbro, Tony Ojeda
Python数据处理

Python数据处理

Jacqueline Kazil, Katharine Jarmul
精通機器學習

精通機器學習

Aurélien Géron
C++语言导学(原书第2版)

C++语言导学(原书第2版)

本贾尼 斯特劳斯特鲁普

Publisher Resources

ISBN: 9787115493668