Multiple targets in a classification problem
I have a vector of length $n \gt 4$ which has exactly 4 targets, so for example [0, 0, 0, 1, 0, 1, 0, 1, 1]
. I would like to know how I can modify the softmax function for this case. Usually, it is normalized so that all probabilities sum to 1. In my case, all the probabilities will need to sum to 4 -- is there any way to do this?
Topic multi-output softmax multiclass-classification
Category Data Science