7/14
Part 4 of 7 · Cross entropyLearn and do

Log loss is cross entropy, and its floor is the entropy

Average the negative log-likelihood over the rows, and you get the log loss. scikit-learn's documentation calls it logistic loss or cross-entropy loss, the negative log-likelihood of a logistic model. In general, for a true distribution p over some outcomes and a model's q, the cross entropy is

H(p,q)=−∑ipilog⁡qiH(p, q) = -\sum_i p_i \log q_i

Predict

Is H(p, q) the same number as H(q, p)?

Pick an answer above to see the rest
Predict

Predict the shop's actual return rate, 12.3%, for every order. What's the log loss?

Pick an answer above to see the rest