I am trying to compute the gradient of multi class hinge loss function but i am kinda confused.
First things first, I have a W matrix [10xD] (10 classes) that contains the weights.
The loss function is as follows:
Do you know how to compute the gradient of the loss function? Should it be a matrix containing all the partial derivatives wrt w? Thank you.