Using a cross-entropy loss function in the Deep Learning Toolbox for a probability distribution target

4 次查看(过去 30 天)
I am trying to predict a probability distribution with the deep learning toolbox. In other words, my annotations for each training example consists of a vector of probabilities, which sum to 1. The Deep Learning Toolbox in MATLAB puts a very restrictive condition on when the cross entropy function can be used, namely only for class labels. Is there any solution or do I need to migrate to another machine learning library and programming language?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Sequence and Numeric Feature Data Workflows 的更多信息

产品


版本

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by