Is there a way to implement a customized loss function in neural network

Hello everyone,
I wish to implement a new custom cost (entropy) function in neural network in MATLAB. Can someone please advice me on how can I do that.
Thanks

1 comentario

Yes you can define a custom loss layer. An example is available in MATLAB documentation here https://www.mathworks.com/help/deeplearning/ug/define-custom-classification-output-layer.html
https://www.mathworks.com/help/deeplearning/ug/define-custom-regression-output-layer.html

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Deep Learning Toolbox en Centro de ayuda y File Exchange.

Preguntada:

SG
el 9 de Ag. de 2020

Comentada:

el 10 de Ag. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by