Paths Subjects Questions Quizzes Pricing Search
Advanced Open Pro

From Likelihood to Log-Loss and Its Gradient

  1. Starting from the Bernoulli likelihood for n independent observations, derive the log-loss objective that logistic regression minimizes.
  2. Show that the gradient with respect to \boldsymbol\beta takes the form \mathbf X^\top(\mathbf p - \mathbf y), and explain in words why this looks so similar to the OLS normal equations.
  3. Explain concretely why there is no closed-form solution for \hat{\boldsymbol\beta}, and what property of the loss guarantees that iterative solvers still find the global optimum.

Share this question

← Back to Logistic Regression & Linear Classifiers practice

We use cookies for product analytics to improve OmniAtlas. See our Privacy Policy.