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

4 views (last 30 days)
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?

Answers (0)

Categories

Find more on Sequence and Numeric Feature Data Workflows in Help Center and File Exchange

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!