How to change the mini-batch accuracy function using trainNetwork? (AKA How to change what the network is optimizing for)

1 次查看(过去 30 天)
I am using trainNetwork to train a network for semantic segmentation. I'd like to change the mini-batch accuracy function to be in terms of the boundary f1 score ( bfscore). It currently seems to be in terms of global accuracy, which is not optimal for my problem. How do I change this?
I have looked though the documentation for trainNetwork and trainingOptions and I did not see anything.
Thanks!

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Image Data Workflows 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by