3

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?

kjetil b halvorsen
  • 63,378
  • 26
  • 142
  • 467
ashish14
  • 131
  • 2
  • Relevant, maybe a duplicate: https://stats.stackexchange.com/questions/326350/what-is-happening-here-when-i-use-squared-loss-in-logistic-regression-setting Also relevant: https://stats.stackexchange.com/questions/217798/using-mse-instead-of-log-loss-in-logistic-regression – kjetil b halvorsen May 24 '19 at 18:07
  • 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. – Sycorax May 24 '19 at 18:14

0 Answers0