ageron / ageron/handson-ml2

CHAPTER 08-PCA FROM SCRATCH

未關閉
#243 1 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Jupyter Notebook
星號
30k
分支
13.1k
PR 合併指標
30 天內沒有已合併 PR

描述

I have a question, why are you applying a SVD on a zero-mean (along the first axis) matrix? I'm not sure that's correct, I think you need to apply the SVD to the covariance matrix.
In fact, when checking the pca.explained_variance_ratio_, that corresponds only to component of the vector S returned by the SVD (normalized to the sum of elements in the vector) applied on a covariance matrix.

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。