Re: [線代] projection matrix 一點不懂
喔 我突然懂了.....
抱歉 請容我重新 formulate 一下:
Vectors a1 and a2 are the basis of a plane.
The plane of a1 and a2 equals to the column space of A.
That is, the first column in the matrix A is a1, and the second column
of it is a2.
There is another vector called b.
I want to know the projection (called p) of b on this plane.
Of course if b is in the column space of A (i.e. b equals to the
linear combinations of a1 and a2), p=b.
But unfortunately b is not in this column space.
到此為止我的理解應該都沒錯吧?
但目前為止這個 A 的 dimension = 2
也就是它是一個二維的平面
經由一連串的公式推導可以得出 p=A*(AtA)^(-1)*At*b=P*b
[這個大寫的 P 叫做 projection matrix; At = transpose of A;
^(-1) = inverse; * = multiplication]
這個時候 這個 MIT 的老師說除非這種特殊情況:
If A is a square and invertible matrix, then P equals to the identify matrix.
Moreover, b is already in the column space of A, and the projection of b
into the whole space of A is actually b itself.
這是因為當 A 是 symmetric and invertible 時
他的 size 必定是 n x n
且這 n 個 columns 是 independent 的
它的 dimension 就變成 n 而非原來的 2 了
所以 b 當然就是 A 的一個 column space
b 在 A 這個 space 的 p 就是 b 本身
而 P 就是 identity matrix 囉
我想應該這樣沒錯了吧?
PS. 其實我只是想要了解 eigenvalue/vector 以及 PCA
有需要懂這些 space 到這麼多嗎?
Thanks a lot!
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.112.121.113
※ 文章網址: http://www.ptt.cc/bbs/Math/M.1398340621.A.5CE.html
→
04/24 20:01, , 1F
04/24 20:01, 1F
→
04/24 20:01, , 2F
04/24 20:01, 2F
推
04/24 21:14, , 3F
04/24 21:14, 3F
推
04/24 21:26, , 4F
04/24 21:26, 4F
→
04/24 23:07, , 5F
04/24 23:07, 5F
→
04/24 23:10, , 6F
04/24 23:10, 6F
→
04/26 00:37, , 7F
04/26 00:37, 7F
→
04/26 00:37, , 8F
04/26 00:37, 8F
→
04/26 00:40, , 9F
04/26 00:40, 9F
→
04/26 00:40, , 10F
04/26 00:40, 10F
→
01/02 15:44,
5年前
, 11F
01/02 15:44, 11F
→
07/07 12:03,
4年前
, 12F
07/07 12:03, 12F
討論串 (同標題文章)
完整討論串 (本文為第 4 之 4 篇):