Quantcast
Channel: Machine Learning
Viewing all articles
Browse latest Browse all 62750

Trying to solve the extra-credit for the coursera machine learning course wk1/2.. cannot get J(theta) to converge

$
0
0

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

submitted by eof
[link][comment]

Viewing all articles
Browse latest Browse all 62750

Trending Articles