Classification loss and neural neural network
1 次查看(过去 30 天)
显示 更早的评论
Hello,
I want to compare my neural network and my support vector machine with one another. For fitcsvm I am using the loss function loss(Mdl,XTest,YTest,'LossFun','exponential'). Now I want to calculate the exponential loss for my neural network. Is there a function which calculates the exponential loss for neural networks? Since I couldn´t find one I wanted to write my own, but I have difficulties to understand the math behind the implemented loss function (https://de.mathworks.com/help/stats/compactclassificationensemble.loss.html#bswgv2a-3).
How are the m and the w calculated?
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!