- #1
Sue_2010
- 8
- 0
Hello everyone,
If I have a collection of data points (vectors), and x and y are two vectors among them. I want to project the data to a direction that the Euclidean distance between x and y is Maximally preserved. Then this direction should be the row space of (x-y)’, denoted as row( (x-y)’ ), right? (suppose column vectors.)
Now, suppose I have n pairs of such data points grouped as a matrix A, say
A = [
(x1 – y1)’
(x2 – y2)’
…
(xn –yn)’
]
For my problem, directly calculate the row space projection matrix P1 = A’*inv(AA’)*A is difficult, so I want to do some approximation.
Suppose all the vectors have been normalized, that is norm(x1) = norm(x2) = … = norm(xn) = norm(y1) = .. = norm(yn). I define matrix B as
B = [
(x1 + y1)’
(x2 + y2)’
…
(xn + yn)’
]
And plan to find the null space of B, denoted as null(B). It is easy for me to calculate the null space projection matrix P2 = I – B’*inv(BB’)*B. Note that, (xi – yi)’*(xi+yi) = 0 for normalized vectors.
I feel that null(B) = row(A) . Is it true? Or what’s the relationship between null(B) and row(A)? Can I make the conclusion that, if I project data to null(B), those pair of points (xi, yi) will also be maximally separated?
I’m waiting online. Any input will be appreciated! You’re welcome to send me emails!
Thank you very much!
Sue
If I have a collection of data points (vectors), and x and y are two vectors among them. I want to project the data to a direction that the Euclidean distance between x and y is Maximally preserved. Then this direction should be the row space of (x-y)’, denoted as row( (x-y)’ ), right? (suppose column vectors.)
Now, suppose I have n pairs of such data points grouped as a matrix A, say
A = [
(x1 – y1)’
(x2 – y2)’
…
(xn –yn)’
]
For my problem, directly calculate the row space projection matrix P1 = A’*inv(AA’)*A is difficult, so I want to do some approximation.
Suppose all the vectors have been normalized, that is norm(x1) = norm(x2) = … = norm(xn) = norm(y1) = .. = norm(yn). I define matrix B as
B = [
(x1 + y1)’
(x2 + y2)’
…
(xn + yn)’
]
And plan to find the null space of B, denoted as null(B). It is easy for me to calculate the null space projection matrix P2 = I – B’*inv(BB’)*B. Note that, (xi – yi)’*(xi+yi) = 0 for normalized vectors.
I feel that null(B) = row(A) . Is it true? Or what’s the relationship between null(B) and row(A)? Can I make the conclusion that, if I project data to null(B), those pair of points (xi, yi) will also be maximally separated?
I’m waiting online. Any input will be appreciated! You’re welcome to send me emails!
Thank you very much!
Sue