How to write our own Loss function in Deep neural network layers.

20 visualizaciones (últimos 30 días)
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.

Respuesta aceptada

Mohammad Sami
Mohammad Sami el 29 de Oct. de 2021
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.

Más respuestas (0)

Categorías

Más información sobre Deep Learning Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by