Convex Function
Introduction
Intuition: A convex function is a bowl shape function. When we connect any two points on a convex function, for any point on the line, we can find on the convex function where
We can extend this intuition to higher dimensions
Formal Definition: A function is convex if for all , ,
Why is it important
If the loss function is convex, then we can guarantee that after optimization, the minimum we achieve must be the global minimum of the function