I have a function with n parameters. I don't know the formula of the function but I can generate as many data points as I want using the function that I have. My question is, how can I find the set of parameters that generate (approximately) minimum value using that function.
In other words,...
I have a function F(param1, ..., paramN)
Given a set of arguments {arg1, ..., argN}, for which the function yields a result.
How can I find the set of arguments that yield a value close to minimum (a local minimum).
My idea was
generate some points using different arguments with F(param1, ..., paramN)
Apply a curve fitting method on these data points to find a function that passes from these points.
Use the generated function formula to apply Gradient Descent and calculate local minimum.
Thanks!
What's commonly used in practice is to use finite-differences methods to approximate the gradient. When that's done, you can simply use gradient descent algorithms as normal.