Googles appar
Huvudmeny

Post a Comment On: cbloom rants

"11-30-10 - Reference"

4 Comments -

1 – 4 of 4
Blogger Per Vognsen said...

Here's how I look at it:

The normal equations are A^T A x = A^T b, an orthogonal projection of b onto A's column space by taking inner products. The L^2 inner product of vectors and matrices is P^T Q, and with inner product matrix S you just throw S into the middle so that it's P^T S Q.

Applied to our normal equations for A and b, that works out to (A^T S A) x = A^T S b or equivalently (sqrt(S)^T A)^T (sqrt(S) A) x = (sqrt(S)^T A)^T (sqrt(S) b). Since S is symmetric (and hence sqrt(S) is also symmetric), this is A'^T A' x = A'^T b' where A' = sqrt(S) A and b' = sqrt(S) b, which is just the least-squares problem for A' and b'.

I started writing all this out because I thought you were missing some square roots in your A' and b' definition. But then I noticed you defined the skewed inner product with weight factors sqrt(W_i) rather than W_i, so we do get the same result.

November 30, 2010 at 5:58 PM

Comment deleted

This comment has been removed by the author.

November 30, 2010 at 7:01 PM

Blogger Unknown said...

You can also think of it like you're doing a least-squares solve in a scaled space (eg. "the y axis is twice as important/big as X and Z").

November 30, 2010 at 7:01 PM

Blogger cbloom said...

"and with inner product matrix S you just throw S into the middle so that it's P^T S Q."

Mmm this is an interesting way of thinking about it.

It reminds me of the "kernel trick" for SVM, which is really a general method.

Anytime you see something that works like an inner product, you can replace it with something else that works like an inner product.

In fact, rather than just using this for weighted-lsqr I imagine you could do kernel-lsqr this way. ... searching ... yep, they're doing it, see for example "kernel conjugate gradient" which appears to be an open area of research right now.

December 1, 2010 at 1:46 PM

You can use some HTML tags, such as <b>, <i>, <a>

This blog does not allow anonymous comments.

Comment moderation has been enabled. All comments must be approved by the blog author.

You will be asked to sign in after submitting your comment.