A Gentle Introduction to Logistic Regression with Maximum Likelihood Estimation
machinelearningmastery.com