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

조회 수: 22 (최근 30일)
Haleema Sadia
Haleema Sadia 2021년 10월 27일
답변: Mohammad Sami 2021년 10월 29일
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.

채택된 답변

Mohammad Sami
Mohammad Sami 2021년 10월 29일
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.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by