Questions tagged [gradient-descent]

"Gradient descent is a first-order optimization algorithm. To find a local minimum of a function using gradient descent, one takes steps proportional to the negative of the gradient (or of the approximate gradient) of the function at the current point."

Gradient descent is based on the observation that if the multi-variable function $F(x)$ is defined and differentiable in a neighborhood of a point $a$ , then $F(x)$ decreases fastest if one goes from $a$ in the direction of the negative gradient of $F$ at $a$, $-\nabla F(a )$. It follows that, if

$$a_{n+1}=a_n-\gamma \nabla F(a_n)$$

for positive $\gamma$ that is small enough, then $F(a_n) \ge F(a_{n+1})$.

1029 questions
0
votes
0 answers

Gradient descent - contour map

Given a 1024x918 matrix i drew a contour map and marked 8 points on it (top of the mountains). Using gradient descent I want to find shortest way down given the only matrix. How should I approximate the value of the gradient and what grid point…
Emigsfd
  • 43
0
votes
0 answers

What does It Mean to Find Norm under a Hessian?

$E[ \lVert \nabla f(x)\rVert^2_{\nabla^2 f(x) ^{-1}}]$ This is explained as a norm of gradient and a measure of its magnitude under the hessian. I have no idea what it means and would appreciate any changes to the question or explanation.
knk
  • 359
  • 4
  • 16
0
votes
1 answer

Calculation of gradient and hessian

Let the function on $E = R ^ 2$ by $j (x, y) = x^2-xy+y^2+3x-2y+1$. Calculate the associated gradient and hessian. Deduce the value of a local minimal point is this a strict minimum. To answer this simplistic example, i begin by calculating the…
-2
votes
1 answer

gradient descent - getting the basics right

So, I found this question: Given that $w_{j+1}=w_{j}-v∇Q(w_{j})$ Let $Q(w_{1},w_{2})=\frac{1}{2}(w^2_{1}+w^2_{2}).$ Suppose $w_{0}=(1,0)$ and $v=2$, what is $w_{2}$? The answer given is (1,0) with the explanation below: Note that ∇Q(1,0)=(1,0).…
1 2
3