The sigmoid function, also known as the logistic function, is used as the activation function in Logistic Regression to map the output to a probability between 0 and 1.
Doubts & discussion
Not sure why the answer is B? Ask here and get an explanation.