Thank you so much. After calculating the mean of each class, I want to select sample row to compute Euclidean distance between the row and the mean of classes.
For example, I have 10 classes. The results are 10 Euclidean distance. I want to use softmax after the results of Euclidean distance and finally apply loss function.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country
sites are not optimized for visits from your location.