Skip to main content

All Questions

Filter by
Sorted by
Tagged with
5 votes
3 answers
6k views

In logistic regression, why is the binary cross-entropy loss function convex?

I am studying logistic regression for binary classification. The loss function used is cross-entropy. For a given input $x$, if our model outputs $\hat{y}$ instead of $y$, the loss is given by $$\text{...
hanugm's user avatar
  • 3,990