Question: why use mle for logistic regression?
Answer: In order to chose values for the parameters of logistic regression, we use maximum likelihood estimation (MLE). ... The labels that we are predicting are binary, and the output of our logistic regression function is supposed to be the probability that the label is one.