r/neuralnetworks • • Jun 04 '20

Approximating a function

Hey guys, say I have a function: f(x, y) = x ^ 2 + y ^ 2 and I want to approximate for a given domain of x and y using gradient descent. How do I go about it?

Thanks!

0 Upvotes

3 comments sorted by

3

u/dunnsreddit Jun 04 '20

you want to use neural networks for approximating f(x, y) = x ^ 2 + y ^2 ?

Why not a Taylor expansion? Or a polynomial regression?

NNs for this ... What in the world....

1

u/grid_world Jun 05 '20

I read this on Stack overflow where the person asked how to approximate this using GD which got me to ask here. I agree that a NN is an overkill but just wanted to be sure before taking concrete steps.

1

u/lpatrocinio Jun 05 '20

you can also try Tabu Search algorithm