Closed tutysara closed 12 years ago
Your X and X_hc's columns (except the first) differ by a factor of 10. Fixing that fixes the issue.
thx, haven't noticed that. You guys are lightning fast.
I had send a mail to Scalala's group as well, You can trash that mail when it comes to moderation.
I had to add bias terms to a matrix before multiplying, I used DenseMatrix.horzcat function to append the column 1's to the original matrix. However there is vast difference between the result got by multiplying a matrix hard coded with the column of 1's and the one which is got as a result of applying the function DenseMatrix.horzcat. I am using a DenseMatrix of Double, I know there could be some round off errors, but I think the difference is considerable. Guys can you please try running it on your machines and see if it works fine or it is really a bug that needs a fix.
code