I am taking this deep learning course from Andrew NG. In the 3rd lecture of 2nd week of the first course, he mentions that we can use RMSE for logistic regression as well but it will take a nonconvex form having a lot of local minima and so gradient descent may not be able to find the global minima. So why using RMSE as loss function makes the cost function as non-convex in logistic regression but convex in case of linear regression?
Why using RMSE as loss function in logistic regression takes non convex form but doesn't in linear regression? [duplicate]
$\begingroup$ Relevant, maybe a duplicate: stats.stackexchange.com/questions/326350/… Also relevant: stats.stackexchange.com/questions/217798/… $\endgroup$– kjetil b halvorsen ♦May 24, 2019 at 18:07
$\begingroup$ Welcome to CV! We have several threads which address this topic. If you still have questions after reviewing them, please edit your post to clarify what questions or doubts remain which were not addressed elsewhere. $\endgroup$– Sycorax - On Strike ♦May 24, 2019 at 18:14