Quiz Determining Shape

Quiz: Suppose instead of using negative of log-likelihood as the loss, you decide to use least square loss which is defined as Σ(y - y_pred)^2, assuming binary classification, which of the following statements is true about the loss How can we prove the shape of the graph? Whether it would be convex or concave or kind of mix of them, so multiple minima and maxima will be present

Hey @tisandas2011, for checking the curve has single minima or more, you need to take its derivative and equate it to zeros and check for solutions. If there are multiple solutions this means there are multiple maxima minima.

For checking concavity and convexity of the curve, you need to take second derivative, and if its always positive it means its convex otherwise concave. Higher order mathematics skills are required to deal with such difficult derivations. If you are willing, you need to find an apt blog.

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

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.