How to write our own Loss function in Deep neural network layers.
20 views (last 30 days)
Show older comments
Haleema Sadia
on 27 Oct 2021
Answered: Mohammad Sami
on 29 Oct 2021
I have to implement this unsupervised DNN network and a loss function given in figures. How I can introduce this loss function into my last layer in Matlab? Anycan can please guide.
0 Comments
Accepted Answer
Mohammad Sami
on 29 Oct 2021
You can first check if the loss function is already available in Matlab here.
If its not available you can create your own custom loss function by creating a Classification or Regression layer based on the following tutorial.
0 Comments
More Answers (0)
See Also
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!