How to identify if the function is a convex or not?

As discussed in Support Vector machines chapter, the function that we derive initially for optimisaiton is a non-convex function and hwnce, would get stuck in some local minima on random initialisation.

My doubt is: How do we identify by looking at the function that it is a convex or non-convex function ?

Hey @settingsingh, it is related to class 11th and 12th, you need to take second order derivating, if f"(x)>0 concave up otherwise concave down.

Hope this resolved your doubt.
Plz mark the doubt as resolved in my doubts section. :blush: