✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
In a sentiment analysis task for logistic regression, it is observed that the true label is 1 and the predicted probability for y is 0.7 What is the cross entropy loss for the above prediction ?