A function is convex if the line segment between any two points on its graph lies above the graph; equivalently its Hessian is positive semi-definite.
Every local minimum of a convex function is a global minimum, so gradient descent is guaranteed to reach the optimum (with a suitable learning rate).
Linear regression, logistic regression (with cross-entropy) and SVMs have convex losses; neural networks do not, so training finds good but not provably optimal solutions.
Loading…