Goal : Estimate the unknown parameters of the logistic regression model.

Likelihood Function:

For binary outcomes:

where is the sigmoid function.

Log-Likelihood Function:

Estimation :

Find that minimises the negative log-likelihood: