Machine Learning, Data Science, Optimization, Gradient Descent, Convexity.
functions. Examples of concave functions: y=-eˣ. The function is differentiable twice. Let’s check for convexity by plotting the exponential function eˣ. Code for plotting a convex and concave function. By the author. The code output: Convex and concave functions. Image by the author (code output).