Is the loss is the same as the error in deep learning?
I feel it's the same but I'm maybe wong...
Usually loss and error are different concepts, but sometimes people conflate the two because conceptually, they're similar.
Loss functions measure the misfit of the model -- how much the model is wrong.
Error usually is shorthand for "error rate," the proportion of samples misclassified.
These two concepts are not necessarily the same. For example, cross-entropy loss can be any non-negative number, but the error rate is some number between 0 and 1.
Moreover, the error rate is not a differentiable function so it is not suitable for use in the back-propagation algorithm. But cross-entropy loss is differentiable, and is perfectly reasonable to use in back-prop.