mirror of
https://github.com/apachecn/ailearning.git
synced 2026-05-09 07:31:53 +08:00
添加注释,添加 1988 的链接
This commit is contained in:
@@ -140,8 +140,8 @@ def pca(dataMat, topNfeat=9999999):
|
||||
dataMat 原数据集矩阵
|
||||
topNfeat 应用的N个特征
|
||||
Returns:
|
||||
lowDDataMat
|
||||
reconMat
|
||||
lowDDataMat 降维后数据集
|
||||
reconMat 新的数据集空间
|
||||
"""
|
||||
|
||||
# 计算每一列的均值
|
||||
@@ -215,6 +215,6 @@ def pca(dataMat, topNfeat=9999999):
|
||||
|
||||
* * *
|
||||
|
||||
* **作者:[片刻](http://www.apache.wiki/display/~jiangzhonglian)**
|
||||
* **作者:[片刻](http://www.apache.wiki/display/~jiangzhonglian) [1988](http://www.apache.wiki/display/~lihuisong)**
|
||||
* [GitHub地址](https://github.com/apachecn/MachineLearning): <https://github.com/apachecn/MachineLearning>
|
||||
* **版权声明:欢迎转载学习 => 请标注信息来源于 [ApacheCN](http://www.apachecn.org/)**
|
||||
|
||||
@@ -26,8 +26,8 @@ def pca(dataMat, topNfeat=9999999):
|
||||
dataMat 原数据集矩阵
|
||||
topNfeat 应用的N个特征
|
||||
Returns:
|
||||
lowDDataMat
|
||||
reconMat
|
||||
lowDDataMat 降维后数据集
|
||||
reconMat 新的数据集空间
|
||||
"""
|
||||
|
||||
# 计算每一列的均值
|
||||
|
||||
Reference in New Issue
Block a user