mlsa-book / MLSA

https://www.mlsabook.com
MIT License
3 stars 0 forks source link

Problem with the definition of log loss? #77

Closed sbuechler closed 3 weeks ago

sbuechler commented 3 weeks ago

In Section 10.1, log loss is defined as -log \hat{p_i}(y_i). This appears to simply take the log of the predicted probability of y_i. This doesn't include the truth in the calculation. Do you want to multiply that log with y_i ?

sbuechler commented 3 weeks ago

I now see this is correct. ~ sorry.