About binary classification in Caffe

Viewed 1488

When solving a binary classification problem, I think there are two possible ways in caffe.
The first one is using "SigmoidCrossEntropyLossLayer" with one output unit.
The other one is using "SoftmaxWithLossLayer" with two output units. My question is what’s the difference between these two approaches?
Which one should I use?
Thank you very much!

1 Answers
Related