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 面向数据科学家的实用统计学
分类
|
139
判别分析包含了很多种方法,其中最常用的是
线性判别分析法
(
LDA
)。事实上,费希尔
提出的原始方法与线性判别分析法略有差异,但原理基本相同。随着树模型和逻辑回归等
更复杂的方法的提出,如今线性判别分析法的使用不再那么广泛了。
但是,我们依然能在某些应用中遇到线性判别分析法。此时,线性判别分析法可能关联使
用了其他更广为使用的方法,例如主成分分析(参见
7.1
节)等。此外,判别分析可以提
供对预测因子重要性的度量,并且在特征选择上也是一种计算效率很高的方法。
隐含狄利克雷分布
(
Latent Dirichlet Allocation
)同样被简写为
LDA
,但不要
将它和线性判别分析法混淆了。隐含狄利克雷分布主要用于文本和自然语言
处理,与线性判别分析毫无关系。
5.2.1
 协方差矩阵
为了理解判别分析,我们先介绍一下两个或多个变量间
协方差
的概念。协方差衡量了两个
变量
x
和
z
之间的关系。如果用
x
和
z
分别表示变量
x
和
z
的均值(参见
1.3.1
节),那么
x
和
z
间的协方差
s
x
,
z
可由下式给出。
1
,
( )( )
1
n
i i
i
x z
x x z z
s
n
=
− −
=
−
∑
其中,
n
是记录的个数。注意,公式中的除数是
n
-
1
,而不是
n
。参见
1.4.1
节中的知识点
“自由度是
n
,还是
n
-
1
? ”。
和相关系数(参见
1.7
节)一样,协方差为正值表示正相关,为负值表示负相关。但是,
相关系数的值限定在
-
1
到
1
的区间内,而协方差与变量
x
和
z
具有相同的尺度。在
x
和
z
的
协方差矩阵
∑
中,对角线元素(即行和列对应于同一变量)为单个变量的方差,即 ...
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