When I use “regressionLayer”, how to replace the default “lossfunction” of matlab, namely MSE

6 views (last 30 days)
When I use “regressionLayer”, how to replace the default “lossfunction” of matlab, namely MSE
  2 Comments
Piotr Balik
Piotr Balik on 24 Jul 2020
Did you check list of possible functions? So far it's only one:
mathworks.com/help/deeplearning/ref/nnet.cnn.layer.regressionoutputlayer.html

Sign in to comment.

Accepted Answer

Mohammad Sami
Mohammad Sami on 24 Jul 2020
You can try creating your own custom regression layer.
An example can be found here

More Answers (0)

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!