Defining custom deep learning layer

I have been trying out the deep learning functionality within matlab for a project. I have two target classes '1' and '0'. I want to perform the following. I would like to penalize the misclassification of a '0' class to '1' higher than vice-versa. In SVMs, Treebaggers etc, I used to define a custom cost function. But I am unable to find that option within the deep learning functionality. Is there a fix for it or can you guide me to the appropriate work around?

回答 (0 件)

この質問は閉じられています。

質問済み:

N/A
2018 年 4 月 30 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by