I want to perform a multi-level image classification task for n classes. I have sparse label vectors for each image, and each size of each label vector is currently encoded as follows:
1.0 → Label true / Image belongs to this class
-1.0 → The label false / Image does not belong to this class.
0.0 → missing value / label
For example: V = {1,0, -1,0,1,0, 0,0}
In this example, the V model should find out that the corresponding image should be classified in the first and third grade.
Currently, the problem is how to handle the missing values / labels. I looked through these problems and found this problem: tensorflow / skflow # 113 found here
Thus, it is possible to perform multilevel classification of images using: tf.nn.sigmoid_cross_entropy_with_logits (logits, goals, name = no)
but TensorFlow has this error function for sparse softmax, which is used for exceptional classification: tf.nn.sparse_softmax_cross_entropy_with_logits (logins, tags, name = no)
So is there something like rare sigmoid cross-entropy? (Could not find anything) or any suggestions on how I can deal with my problem of multilevel classification with sparse labels.