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 个)

类别

Help CenterFile Exchange 中查找有关 Deep Learning Toolbox 的更多信息

产品


版本

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by