How can I implement SVM as classifier on deeplearning stack?

Hello MATLAB community,
I have read few papers which use linear SVM as classifier on deep learning network. For ex.
Can someone please suggest me how can I also replace cross-entropy (or softmax) and implement SVM as classification layer over deep learning network.
I have been suggested that we can define a custom loss layer. An example is available in MATLAB documentation here
Thanks in advance

Answers (0)

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Asked:

SG
on 27 Aug 2020

Commented:

SG
on 10 Nov 2020

Community Treasure Hunt

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

Start Hunting!