My output layer has 2 neurons, and doing binary classification.
The sigmoid output from the hidden player outputs a n rows and 2 columns shape.
The target labels are in format [0,1,0…1] format.
When calculating the loss function, should I be converting probabilities from the sigmoid output less than 0.5 to class 1 and more than 0.5 to class 0.
Or calculate the loss directly using the probability and the target label?
Thanks