PCA的数学原理
数学算法俱乐部
共 7730字,需浏览 16分钟
·
2021-07-09 21:09
日期 : 2021年07月08日
正文共 :7172字
PCA(Principal Component Analysis)是一种常用的数据分析方法。PCA通过线性变换将原始数据变换为一组各维度线性无关的表示,可用于提取数据的主要特征分量,常用于高维数据的降维。网上关于PCA的文章有很多,但是大多数只描述了PCA的分析过程,而没有讲述其中的原理。这篇文章的目的是介绍PCA的基本数学原理,帮助读者了解PCA的工作机制是什么。
当然我并不打算把文章写成纯数学文章,而是希望用直观和易懂的方式叙述PCA的数学原理,所以整个文章不会引入严格的数学推导。希望读者在看完这篇文章后能更好的明白PCA的工作原理。
数据的向量表示及降维问题
![](https://filescdn.proginn.com/013c5843bdb9eaec748c667ad85718f1/37bf515f9a7b0b56fccc9d3fcac951f1.webp)
向量的表示及基变换
![](https://filescdn.proginn.com/887baa9d42af3bba76d4af0160f9e19d/b0e78e0c44bf5436c1ea890aa09e47de.webp)
![](https://filescdn.proginn.com/1992c91ca76529df40b2d3ee68b15534/9c707814efe01d0b766a3c7f7afdf5d6.webp)
![](https://filescdn.proginn.com/cf8376e4bd1c8f66aa862b3e87654310/7878732800aaada2e52e5bf67f6c4073.webp)
![](https://filescdn.proginn.com/733edc21605ddb0ec079b5c6c1fb1eb5/637fbb04292ea3951f581e039374e81c.webp)
![](https://filescdn.proginn.com/5d6c91570ec8ede04b6e85f9b376cd8e/b42e86e08c439ec22005e4b2c4845cdd.webp)
![](https://filescdn.proginn.com/33bb6402e58e8a913243dbe38bbbf35a/0a5345f6533de5573a42f4a37ed74d6d.webp)
![](https://filescdn.proginn.com/2c4ac3589e02e4e9a6c6af2336a5d012/a83a187b8c20210c936862e971cf9f81.webp)
![](https://filescdn.proginn.com/1f0d6cc414284ad98a2cdc0d1c48097a/8ff15e67679c431ecdca3212e1cb46b0.webp)
![](https://filescdn.proginn.com/a980ec72fa68b8a8f248ac0fbabb5a4f/a5546eb3e3691c1c8ec923940116ceca.webp)
![](https://filescdn.proginn.com/96d4767991d047c93ef5d961bb6a21f9/fe11fbee8a5493c931c67192b7a12196.webp)
![](https://filescdn.proginn.com/56d7446c6f9dfe17261f83cf4c2081e3/399bd22cfa7097e5e80c4b38ac6d700b.webp)
![](https://filescdn.proginn.com/4d9d949bad48551184959880c7e620c8/655c080ce9f3aa02064d0bb13f9fe913.webp)
![](https://filescdn.proginn.com/15d690ca5060112f58660332f90ef942/a09d2bd0bcd146ad943e53018be47297.webp)
协方差矩阵及优化目标
![](https://filescdn.proginn.com/ba49fabfe642f605d2e7a0cc09ab51f6/5e21a371347d742b84e784a8e8918fbe.webp)
![](https://filescdn.proginn.com/35431abd88b2764bb937590ff76a3d2a/8383f75cbae15e38a79851649befe71c.webp)
![](https://filescdn.proginn.com/2eaa105f37c322145488920d740f4be3/1e301a3c86b196779c2f3492fb3749be.webp)
![](https://filescdn.proginn.com/4d62d37a89fda2be8a99eb7003c301a2/c9eb262f77a028bf688fbf5898f75714.webp)
![](https://filescdn.proginn.com/57b09180e296d21d75a0f033d3504d85/62df9f0c34ef2c161293cdfef3879dec.webp)
![](https://filescdn.proginn.com/8097ae8aa572634da8d757126e344b21/069bce5c187cf255e83b102f51013f53.webp)
![](https://filescdn.proginn.com/7319ac23b0e0148fe88275eb0595fb3e/7329408f3407e3adfa3acbdbb5128d75.webp)
![](https://filescdn.proginn.com/7a3050a81029a1e20d8bb3ba0e8f5512/237794d656d30362022be23ac608ae14.webp)
![](https://filescdn.proginn.com/93f890f645b381dc9f69ed8c5e28fd60/bf4de186a94b96959c4a5334580c8ad1.webp)
![](https://filescdn.proginn.com/c30498dd84af97c5e46fc8128a53559b/40c9d14c83cc10fba072e1abef27d690.webp)
![](https://filescdn.proginn.com/0d374a186518a8fecc6bd96b48364cce/0698c3017fdc5c469a7d3ac7d040299d.webp)
![](https://filescdn.proginn.com/759b68e7090fa1958105a9a75636a870/83783b5be6bcff957ce2bf0425fbcfa1.webp)
![](https://filescdn.proginn.com/820c229820e0c4ef4558a28c32877b9c/3a05e13697f12681884d232f08ae2a89.webp)
![](https://filescdn.proginn.com/1d20d212171f4f333abb11dbae2a5184/623bb48b21f32385e365a1563ca3845f.webp)
算法及实例
![](https://filescdn.proginn.com/1ece99cf6b8cddd9799d9ba6f71a7484/22e45951df283253d01b436ce59e8190.webp)
![](https://filescdn.proginn.com/d2dc6c5f48b0c39e57f761cf463eb434/6f1d5ff95ad023b32bd4b7ef965d4a22.webp)
![](https://filescdn.proginn.com/2870be44d27825a28644c8cd7a2c3604/9638125e47fb184bb7d6b50c86a52042.webp)
![](https://filescdn.proginn.com/9a737a6d43718e6ccc0b2933947dd10d/d5b4a2b9872f77915a63292757f67574.webp)
![](https://filescdn.proginn.com/0608398d0ea76fe44a2aaebac2be9050/6276dde87d570473cb30006e67882b49.webp)
![](https://filescdn.proginn.com/d5b4a2b9872f77915a63292757f67574/c62a2b1e5503bf0cd44f68adff87d403.webp)
![](https://filescdn.proginn.com/5844e0b92ef35649d1e0b90d47ffbcda/f78a171741a1638b03643e3749b3a735.webp)
![](https://filescdn.proginn.com/fdf6e747ae413b90e5bc2c55f3b89617/1142ae951551c599616ca54cf5fbcb93.webp)
![](https://filescdn.proginn.com/babf524e8124f4944cba4784a7afcd94/aced17af26de3c8a64e4b362e232554a.webp)
![](https://filescdn.proginn.com/516277655a2183d78e21e8ec3594c228/221d123d74ba612a2754f816a07bfb79.webp)
进一步讨论
— THE END —
![](https://filescdn.proginn.com/728ce288349ca7b39e03f541c166f399/fec522b1424f6ce7c32a8a1177732242.webp)
评论