Skip to content

Loss Functions

hinge loss

cross-entropy loss

The cross-entropy between a “true” distribution p and an estimated distribution q is defined as:

H(p,q)=xp(x)logq(x)H(p, q)=-\sum_{x}p(x)\log q(x)

focal loss


read more