How can I use Hinge loss for Multi-class Support Vector Machine algorithm?

1 次查看(过去 30 天)
I have coded a Multi-class SVM classifier using Hinge loss as loss function. I worked on the knowledge in this article: https://cs231n.github.io/linear-classify/.
But instead of decreasing and converging, my loss function increases to infinity after few loops.
I attach here file .m. Could anyone show me how I can fix this bug?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Classification Ensembles 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by