Fixed the loss functions for categories and is ready for accuracy calculation on page 129
The note is not visible to the blocked user.