code is here: https://pastee.org/u878p
(full code is here)
https://github.com/gdoteof/machine_learning_week1
J(Theta) is oscillating between ~0 and 6.2e6
The way they have you do the homework you can verify that other parts of it work fine and everything builds on the piece from before. So I am pretty sure the error must be in the pastie i linked above.. but I have checked and double and triple (etc) checked that I am doing the algorithm right.. and it seems like I am but obviously something is wrong.
Normally I turn to IRC for support but this seems a bit too nichey and I am not able to get help in there.. thanks
[link][comment]