How to write our own Loss function in Deep neural network layers.
18 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Mohammad Sami
2021-10-29
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Deep Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!