Classification loss and neural neural network

1 visualizzazione (ultimi 30 giorni)
Dimitri
Dimitri il 7 Feb 2019
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?

Risposte (0)

Categorie

Scopri di più su Deep Learning Toolbox in Help Center e File Exchange

Prodotti


Release

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by