You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a name for the cost function used in the hill-climbing example? I'm talking this:
varcostf=function(vec){varcost=0;for(vari=0;i<14;i++){// This example is using 15-dimensional input vector.cost+=(0.5*i*vec[i]*Math.exp(-vec[i]+vec[i+1])/vec[i+1])}cost+=(3.*vec[14]/vec[0]);returncost;// our goal is finding a vector which makes the cost value minimum.};
The text was updated successfully, but these errors were encountered:
Is there a name for the cost function used in the hill-climbing example? I'm talking this:
The text was updated successfully, but these errors were encountered: