Machine Learning, Pytorch.
be written as probability of x in exponential family form The reason for exponential family form is that we we can reuse known formulas for A’ and A’’ when differentiating loss. The following is derived in many places, ie Wainwright’s survey With soft labels as empirical distribution q, we can