Modify loss function used in classification layer
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Jennifer Voon
am 26 Sep. 2019
Kommentiert: Kenta
am 28 Sep. 2019
The default loss function used in classification layer is the crossentrophy. How can I modify or change the loss function used in the classification layer?
2 Kommentare
Greg Heath
am 28 Sep. 2019
You will have to define EXACTLYwhat output you want for each class's input.
Greg
Akzeptierte Antwort
Kenta
am 28 Sep. 2019
https://jp.mathworks.com/help/deeplearning/ug/define-custom-classification-output-layer.html?lang=en
Please refer to this document. This document shows an example to change the loss function into sum of squares error.
In my experience, changing the function into other is not easy, though it is technically possible.
2 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Deep Learning for Image Processing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!