#What's wrong with the following gradient descent algorithm?

8 messages · Page 1 of 1 (latest)

full bluff
#

So, this is a simple gradient descent function I made for the cost function in linear regression and there are a few problems with it --
It's taking way too long to converge (70,000 iterations) for small datasets and it gives me an overflow error if the dataset is large with multiple input variables.

spring violet
#

What cost function are you using?

full bluff
spring violet
#

Oh wait your thing is different

#

Why is your bias a vector and not a scalar?

#

Oh wait it's the same

#

I think your learning rate is just too low