Is there a way to implement a customized loss function in neural network
Show older comments
Hello everyone,
I wish to implement a new custom cost (entropy) function in neural network in MATLAB. Can someone please advice me on how can I do that.
Thanks
1 Comment
Mohammad Sami
on 10 Aug 2020
Yes you can define a custom loss layer. An example is available in MATLAB documentation here https://www.mathworks.com/help/deeplearning/ug/define-custom-classification-output-layer.html
https://www.mathworks.com/help/deeplearning/ug/define-custom-regression-output-layer.html
Answers (0)
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!