Machine Learning, Deep Learning, Pytorch, Python, Artificial Neural Network.
its logrithm. The negative sign is used here because the probabilities lie in the range [0, 1] and the logrithms of values in this range is negative. So it makes the loss value to be positive. When to use it? + Classification. + Smaller quicker training. + Simple tasks. Cross-Entropy Loss