View Single Post
Old 09-21-2014, 11:14 AM
tarquilu tarquilu is offline
Junior Member
Join Date: Sep 2014
Posts: 3
Smile Re: Multiplication matrix X and its transpose

Thank you professor. Sorry, I meant to write (X^T)X to symbolize the transpose of matrix X multiplied by X.

I now know why my matrix was not "shrinking." I was multiplying X(X^T) instead of (X^T)X so that is why I was not obtaining a [d+1 x d+1] dimensional matrix.

However, the g hypotheses I'm obtaining with w = (X^dagger)y are usually not close to target functions f... random, really. I'm obtaining an average Ein of approximately 0.5. Sometimes my code gives a g with an extremely large or small y-intercept value (e.g., 3.60288*10^16 - 0.5x). Any pointers would be appreciated. Thank you.
Reply With Quote