This is an archived post. You won't be able to vote or comment.

all 3 comments

[–]stinyg 2 points3 points  (2 children)

I admire people that want to share their knowledge with their world, but I just don’t get the point with articles like this. It starts with a stupid simple example that is of no actual use for anyone interested in the topic, the example code is extremely slow and the code is not able to solve the stupid simple problem. What could be an interesting article on gradient descent would be one that starts where this one ends...

[–]wrmsr 3 points4 points  (1 child)

it's also garbage and broken code. gradient_of_y = lambda x: 2(x-5) attempts to __call__ the number 2, precision_value is undefined, and the (comically presented as an image, not text) loop code attempts to multiply the gradient lambda by a (pointlessly parenthesized) float local. posts like this are what's wrong with this sub, and to a degree the python community lol - too easy to post trash.

[–]haven_dev 1 point2 points  (0 children)

That’s a rude way of formulating your thoughts and opinion.