I have a function which takes several parameters - a,b,c,d,e and the returns the computed value of z.
I also have the ground truth value of z and I would like to compute the optimal parameters of a,b,c,d,e which would minimize the error between the ground truth value z and the approximated value of z by the function.
I have lots of data for the computed value of z and the ground truth z given different input values of a,b,c,d,e.
Any suggestion how to find the optimal parameters of a,b,c,d and e? I was thinking something like gradient descent or optimization but I am not sure how to proceed.
z1 = function (a1 + b1 + c1 + d1 + e1) and error1 = z1 - z1' where z'1 is the ground truth
z2 = function (a2 + b2 + c2 + d2 + e2) and error2 = z2 - z2' where z2' is the ground truth
... ... .... ... .... ... ... .... ... .... ... .... ..... .... .... .......................................................................
zn = function (an + bn + cn + dn + en) and errorn = zn - zn' where zn' is the ground truth
Thanks a lot for your help in advance.
Ash