I need to classify images as either cancerous or not cancerous.
For this, I built a classical CNN but I am hesitating between labeling my dataset with either two-column vector like this:
cancerous: [0, 1]
not cancerous: [1, 0]
and using a softmax activation function with 2 output neurons.
model.add(Dense(2, activation='softmax'))
OR
cancerous: [1]
not cancerous: [0]
and using a sigmoid activation function with one output neuron.
model.add(Dense(1, activation='sigmoid'))
Which model is better given that I need to use the probability of having cancer as final metric for the patient and also for plotting the ROC curve?